Docs Goabase

MsgWrite
in package
uses TraitDataWrite, TraitUser

Table of Contents

Properties

$dataWrite  : DataWrite
$env  : array<string|int, mixed>
$input  : Input
$msg  : Msg
$user  : User

Methods

__construct()  : mixed
getDataWriteInstance()  : DataWrite
getUserInstance()  : User
handleMsgOnRequest()  : void
postRedirectAtt()  : mixed|null
writePM()  : array{post_id: int, get_id: int}
writes Post-Msg and Get-Msg in user_messages_header Also message one time in user_messages_body
checkDelMsg()  : void
doMsgMultiAction()  : void
doneMsgMulti()  : void
isUserPlinked()  : int
sendPrivateMessage()  : void
sendSpamHint()  : int
Sendet Msg an ModBoard
sendSpamWarningPM()  : void
setMessageReNew()  : void
setSaveHaeder()  : void
setUserStatusOnSend()  : bool
writeMessage()  : int

Properties

$env

private array<string|int, mixed> $env

Methods

__construct()

public __construct() : mixed

handleMsgOnRequest()

public handleMsgOnRequest([array<string|int, mixed> $page = [] ]) : void
Parameters
$page : array<string|int, mixed> = []
Tags
throws
RandomException|DateMalformedStringException

postRedirectAtt()

public postRedirectAtt(array<string|int, mixed> $saAtt) : mixed|null
Parameters
$saAtt : array<string|int, mixed>
Return values
mixed|null

writePM()

writes Post-Msg and Get-Msg in user_messages_header Also message one time in user_messages_body

public writePM([array<string|int, mixed> $saMsg = [] ][, array<string|int, mixed> $saTo = [] ]) : array{post_id: int, get_id: int}
Parameters
$saMsg : array<string|int, mixed> = []

: subject, message, party_id, status from_user_id, to_user_id to_user_id could be an array

$saTo : array<string|int, mixed> = []

: receivers public_uid

Tags
throws
RandomException
Return values
array{post_id: int, get_id: int}

checkDelMsg()

private checkDelMsg([int $nMsgID = 0 ]) : void
Parameters
$nMsgID : int = 0
Tags
throws
RandomException
throws
Exception

doMsgMultiAction()

private doMsgMultiAction(array<string|int, mixed> $page) : void
Parameters
$page : array<string|int, mixed>
Tags
throws
RandomException
throws
DateMalformedStringException
throws
Exception

doneMsgMulti()

private doneMsgMulti(int $nDone, string $strAction, string $strPageInfo) : void
Parameters
$nDone : int
$strAction : string
$strPageInfo : string
Tags
throws
Exception

isUserPlinked()

private isUserPlinked(int $nUserID) : int
Parameters
$nUserID : int
Return values
int

sendPrivateMessage()

private sendPrivateMessage() : void
Tags
throws
Exception
throws
RandomException

sendSpamHint()

Sendet Msg an ModBoard

private sendSpamHint(int $nMsgID) : int
Parameters
$nMsgID : int
Tags
throws
RandomException
Return values
int

sendSpamWarningPM()

private sendSpamWarningPM([int $nMsgID = 0 ]) : void
Parameters
$nMsgID : int = 0
Tags
throws
RandomException
throws
Exception

setMessageReNew()

private setMessageReNew(int $nMsgID) : void
Parameters
$nMsgID : int
Tags
throws
RandomException

setSaveHaeder()

private setSaveHaeder() : void
Tags
throws
RandomException

setUserStatusOnSend()

private setUserStatusOnSend(array<string|int, mixed> $saSendID) : bool
Parameters
$saSendID : array<string|int, mixed>
Tags
throws
Exception
Return values
bool

writeMessage()

private writeMessage(array<string|int, mixed> $saMsg) : int
Parameters
$saMsg : array<string|int, mixed>
Return values
int

        
On this page

Search results