Msg
in package
uses
TraitCountry, TraitImageTools, TraitMember, TraitSeo
Table of Contents
Properties
- $nUserID : int
- $env : array<string|int, mixed>
- $member : Member
- $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.
- getCountryInstance() : Country
- getFromIDsAsResult() : array<string|int, mixed>
- Get's all receivers id's and the their amount of msg
- getImageTagInstance() : ImageTag
- getImageToolsInstance() : ImageTools
- getMemberInstance() : Member
- 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
- getTogglePlinkElement() : string
Properties
$nUserID
public
int
$nUserID
$env
private
array<string|int, mixed>
$env
$member
private
Member
$member
$memberLink
private
MemberLink
$memberLink
Methods
__construct()
public
__construct() : mixed
cntReceivers()
count receivers
public
cntReceivers(int $messageId) : mixed
Parameters
- $messageId : int
cntTypes()
Zaehlt die Nachrichten pro typ, 'box' bzw reiter
public
cntTypes(string $strType[, string $PUID = '' ]) : int
Parameters
- $strType : string
-
- in, out, saved, with, new
- $PUID : 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 $PUID) : string
Parameters
- $saReplyMessage : array<string|int, mixed>
- $PUID : mixed
Tags
Return values
stringgetContactIDs()
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
Tags
Return values
string —mit allem
getCountryInstance()
public
getCountryInstance() : Country
Return values
CountrygetFromIDsAsResult()
Get's all receivers id's and the their amount of msg
public
getFromIDsAsResult([int $nWeeks = 0 ]) : array<string|int, mixed>
Parameters
- $nWeeks : int = 0
Return values
array<string|int, mixed>getImageTagInstance()
public
getImageTagInstance() : ImageTag
Return values
ImageTaggetImageToolsInstance()
public
getImageToolsInstance() : ImageTools
Return values
ImageToolsgetMemberInstance()
public
getMemberInstance() : Member
Return values
MembergetMsgByID()
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
Tags
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
Tags
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>getSeoInstance()
public
getSeoInstance() : Seo
Return values
SeosetNewMsgCntToSession()
public
setNewMsgCntToSession() : void
getTogglePlinkElement()
private
getTogglePlinkElement(int $userID, string $userPUID) : string
Parameters
- $userID : int
- $userPUID : string