Inform
in package
uses
TraitDataWrite, TraitUser
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}
- getDataWriteInstance() : DataWrite
- getInformBox() : string
- getUserInstance() : User
- handleAllRead() : void
- handleGoto() : void
- setForParty() : void
- Sets the inform table for the party
- setRead() : void
- Schreibt einen ungelesenen beitrag zu den gelesenen
- getFileToTableConfig() : array<string|int, mixed>
- setAllRead() : void
- Schreibt die ungelesenen zu gelesenen
- writeDelRead() : void
Properties
$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>
Tags
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}getDataWriteInstance()
public
getDataWriteInstance() : DataWrite
Return values
DataWritegetInformBox()
public
getInformBox(array<string|int, mixed> $page) : string
Parameters
- $page : array<string|int, mixed>
Return values
stringgetUserInstance()
public
getUserInstance() : User
Return values
UserhandleAllRead()
public
handleAllRead() : void
handleGoto()
public
handleGoto([int $nID = 0 ]) : void
Parameters
- $nID : int = 0
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
getFileToTableConfig()
private
getFileToTableConfig() : array<string|int, mixed>
Return values
array<string|int, mixed>setAllRead()
Schreibt die ungelesenen zu gelesenen
private
setAllRead() : void
writeDelRead()
private
writeDelRead(string $strSQL) : void
Parameters
- $strSQL : string