Docs Goabase

Msg
in package
uses TraitData, TraitMemberLink, TraitSeo

Read onlyYes
FinalYes

Table of Contents

Properties

$nUserID  : int
$data  : Data
$memberLink  : MemberLink

Methods

__construct()  : mixed
cntReceivers()  : mixed
count receivers
cntTypes()  : int
Zaehlt die Nachrichten pro typ, 'box' bzw reiter
getAjaxMoreBox()  : string
// json data // hat zwei funktionen: die zwischenueberschrift bestimmen // und das eine posting nicht anzuzeigen, was oben zu sehen ist
getContactIDs()  : array<string|int, mixed>
Get's all "contact" user-ids:
getContacts()  : string
Erzeugt eine Cloud aller Leute, die geschrieben haben Experimental.
getDataInstance()  : Data
getMemberLinkInstance()  : MemberLink
getMsgByID()  : array<string|int, mixed>
Holt die Message des Users anhand der Msg-ID User wird innerhalb der Funktion geprueft
getMsgTo()  : array<string|int, mixed>
Für das CC-Feld
getReceiverIDs()  : array<string|int, mixed>
For more than one receiver Get's array of receiver ids others than the main receiver
getSeoInstance()  : Seo
setNewMsgCntToSession()  : void
buildMemberData()  : array<string|int, mixed>
formatFirstCharacter()  : string
getFromIDsAsResult()  : array<string|int, mixed>
Get's all receivers id's and the their amount of msg
getMsgHeaderById()  : array<string|int, mixed>
getTogglePlinkElement()  : string

Properties

$nUserID

public int $nUserID

Methods

__construct()

public __construct() : mixed

cntReceivers()

count receivers

public cntReceivers([int $messageId = 0 ]) : mixed
Parameters
$messageId : int = 0

cntTypes()

Zaehlt die Nachrichten pro typ, 'box' bzw reiter

public cntTypes(string $strType[, string $keyPUID = '' ]) : int
Parameters
$strType : string
  • in, out, saved, with, new
$keyPUID : string = ''
  • PUID or user.id
Return values
int
  • Anzahl oder 0

getAjaxMoreBox()

// json data // hat zwei funktionen: die zwischenueberschrift bestimmen // und das eine posting nicht anzuzeigen, was oben zu sehen ist

public getAjaxMoreBox(array<string|int, mixed> $saReplyMessage, mixed $keyPUID) : string
Parameters
$saReplyMessage : array<string|int, mixed>
$keyPUID : mixed
Return values
string

getContactIDs()

Get's all "contact" user-ids:

public getContactIDs() : array<string|int, mixed>
Return values
array<string|int, mixed>

getContacts()

Erzeugt eine Cloud aller Leute, die geschrieben haben Experimental.

public getContacts([int $nWeeks = 0 ]) : string
Parameters
$nWeeks : int = 0
Return values
string

mit allem

getMsgByID()

Holt die Message des Users anhand der Msg-ID User wird innerhalb der Funktion geprueft

public getMsgByID(int $nID[, bool $bReply = false ]) : array<string|int, mixed>
Parameters
$nID : int

Message ID

$bReply : bool = false
  • exception for re_msg_id
Return values
array<string|int, mixed>

Message

getMsgTo()

Für das CC-Feld

public getMsgTo(int $aID, string $uid, string $term) : array<string|int, mixed>
Parameters
$aID : int
$uid : string
$term : string
Return values
array<string|int, mixed>

getReceiverIDs()

For more than one receiver Get's array of receiver ids others than the main receiver

public getReceiverIDs(int $messageId, int $mainReceiverId) : array<string|int, mixed>
Parameters
$messageId : int
$mainReceiverId : int
  • the main receiver
Return values
array<string|int, mixed>

setNewMsgCntToSession()

public setNewMsgCntToSession() : void

buildMemberData()

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

formatFirstCharacter()

private formatFirstCharacter(array<string|int, mixed> $saFirstChar, int $cnt, string $tplFirstChar) : string
Parameters
$saFirstChar : array<string|int, mixed>
$cnt : int
$tplFirstChar : string
Return values
string

getFromIDsAsResult()

Get's all receivers id's and the their amount of msg

private getFromIDsAsResult([int $nWeeks = 0 ]) : array<string|int, mixed>
Parameters
$nWeeks : int = 0
Return values
array<string|int, mixed>

getMsgHeaderById()

private getMsgHeaderById(int $nID, bool $bReply) : array<string|int, mixed>
Parameters
$nID : int
$bReply : bool
Return values
array<string|int, mixed>

getTogglePlinkElement()

private getTogglePlinkElement(int $userID, string $userPUID) : string
Parameters
$userID : int
$userPUID : string
Return values
string

        
On this page

Search results