Docs Goabase

MsgList
in package
uses TraitUser

Table of Contents

Properties

$numberOfWeeks  : int
$input  : Input
$msg  : Msg
$msgListTpl  : MsgListTpl
$nPos  : int
$saAtt  : array<string|int, mixed>
$strBox  : string
$user  : User

Methods

__construct()  : mixed
filterMessagesByDate()  : string
generateContactsWeekNavi()  : string
getAjaxList()  : array<string|int, string>
getAll()  : string
Shows messages of a Members Template: message_table.tpl.php
getMsgShow()  : array<string|int, mixed>
getSQL()  : array<string|int, mixed>
Returns the needed sql select as an array
getSQLWhere()  : string
getSubSQLMyMsg()  : string
getUserInstance()  : User
setAtt()  : void
setBox()  : void
getSQLByUserName()  : string

Properties

$numberOfWeeks

public int $numberOfWeeks = 0

$saAtt

private array<string|int, mixed> $saAtt

Methods

__construct()

public __construct([string $strBox = '' ][, array<string|int, mixed> $saAtt = [] ][, int $nPos = 0 ]) : mixed
Parameters
$strBox : string = ''
  • inbox, inbox_new, outbox, saved, member, member_export
$saAtt : array<string|int, mixed> = []
$nPos : int = 0

filterMessagesByDate()

public filterMessagesByDate(string $strWhere) : string
Parameters
$strWhere : string
Return values
string

generateContactsWeekNavi()

public generateContactsWeekNavi() : string
Tags
throws
RandomException
throws
Exception
Return values
string

getAjaxList()

public getAjaxList(string $action[, array<string|int, mixed> $saAtt = [] ]) : array<string|int, string>
Parameters
$action : string
$saAtt : array<string|int, mixed> = []
Tags
throws
Exception
Return values
array<string|int, string>

getAll()

Shows messages of a Members Template: message_table.tpl.php

public getAll([bool $bShowNavi = true ]) : string
Parameters
$bShowNavi : bool = true
Tags
throws
Exception
Return values
string

Anzahl Msg

getMsgShow()

public getMsgShow(string $strWithPUID) : array<string|int, mixed>
Parameters
$strWithPUID : string
Tags
throws
Exception
Return values
array<string|int, mixed>

getSQL()

Returns the needed sql select as an array

public getSQL() : array<string|int, mixed>
Tags
throws
RandomException
Return values
array<string|int, mixed>

[0] = select count, [1] = found rows, [4] select ... limit

getSQLWhere()

public getSQLWhere() : string
Return values
string

getSubSQLMyMsg()

public getSubSQLMyMsg([int $weeks = 0 ]) : string
Parameters
$weeks : int = 0
Tags
throws
RandomException
Return values
string

setAtt()

public setAtt(array<string|int, mixed> $saAtt) : void
Parameters
$saAtt : array<string|int, mixed>

setBox()

public setBox(string $strBox) : void
Parameters
$strBox : string

getSQLByUserName()

private getSQLByUserName() : string
Return values
string

        
On this page

Search results