Inform
in package
uses
TraitData, TraitDataWrite, TraitUser
Read onlyYes
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- ajaxToggle() : array<string|int, mixed>
- cntUnread() : int
- Zaehlt die bisher ungelesenen neuen posts
- delThis() : void
- Loescht diese Inform-ID
- getData() : array{'id': int, 'data': array}
- getDataInstance() : Data
- getDataWriteInstance() : DataWrite
- getInformBox() : string
- getUserInstance() : User
- handleAllRead() : void
- handleGoto() : void
- openPage() : void
- setForParty() : void
- Sets the inform table for the party
- setRead() : void
- Schreibt einen ungelesenen beitrag zu den gelesenen
- delFirst() : void
- getFileToTableConfig() : array<string|int, mixed>
- setAllRead() : void
- Schreibt die ungelesenen zu gelesenen
- updateInformCount() : void
Properties
$data
private
Data
$data
$dataWrite
private
DataWrite
$dataWrite
$env
private
array<string|int, mixed>
$env
$input
private
Input
$input
$user
private
User
$user
Methods
__construct()
public
__construct() : mixed
ajaxToggle()
public
ajaxToggle(array<string|int, mixed> $getParas) : array<string|int, mixed>
Parameters
- $getParas : array<string|int, mixed>
Return values
array<string|int, mixed>cntUnread()
Zaehlt die bisher ungelesenen neuen posts
public
cntUnread() : int
Return values
int —- anzahl
delThis()
Loescht diese Inform-ID
public
delThis(int $nID) : void
Parameters
- $nID : int
getData()
public
getData([string $strSwitchFile = '' ][, array<string|int, mixed> $naIDs = [] ]) : array{'id': int, 'data': array}
Parameters
- $strSwitchFile : string = ''
- $naIDs : array<string|int, mixed> = []
-
'nID' => $nID ?? 0, 'PID' => $PID ?? 0, 'PUID' => $PUID ?? '', 'TID' => $TID ?? 0, 'nCommentID' => $nCommentID ?? 0,
Return values
array{'id': int, 'data': array}getDataInstance()
public
getDataInstance() : Data
Return values
DatagetDataWriteInstance()
public
getDataWriteInstance() : DataWrite
Return values
DataWritegetInformBox()
public
getInformBox(HtmlHeader $htmlHeader) : string
Parameters
- $htmlHeader : HtmlHeader
Return values
stringgetUserInstance()
public
getUserInstance() : User
Return values
UserhandleAllRead()
public
handleAllRead() : void
handleGoto()
public
handleGoto([int $nID = 0 ]) : void
Parameters
- $nID : int = 0
openPage()
public
openPage(HtmlHeader $htmlHeader[, string $show = 'unread' ]) : void
Parameters
- $htmlHeader : HtmlHeader
- $show : string = 'unread'
setForParty()
Sets the inform table for the party
public
setForParty(array<string|int, mixed> $saParty[, int $bAll = 0 ]) : void
Parameters
- $saParty : array<string|int, mixed>
- $bAll : int = 0
setRead()
Schreibt einen ungelesenen beitrag zu den gelesenen
public
setRead(int $nID) : void
Parameters
- $nID : int
delFirst()
private
delFirst(array<string|int, mixed> $informTable, int $PID) : void
Parameters
- $informTable : array<string|int, mixed>
- $PID : int
getFileToTableConfig()
private
getFileToTableConfig() : array<string|int, mixed>
Return values
array<string|int, mixed>setAllRead()
Schreibt die ungelesenen zu gelesenen
private
setAllRead() : void
updateInformCount()
private
updateInformCount() : void