UserPlink
in package
uses
TraitDataWrite, TraitData
FinalYes
Table of Contents
Properties
- $plinkType : string
- $plinkUserID : int
- $data : Data
- $user : User
Methods
- __construct() : mixed
- ajaxTogglePlink() : array<string|int, mixed>
- createIconWithContent() : string
- getDataInstance() : Data
- getDataWriteInstance() : DataWrite
- getPlinkByOtherID() : int
- Wird aktuell nur bei PMs benötigt Wenn Absender geplinked, soll PMs geschrieben, aber als "gelesen" markiert werden
- getPlinkIcon() : string
- getPlinkID() : int
- getUserPlinkIDs() : array<string|int, mixed>
- setPlinkedMsgToRead() : void
- writePlinkID() : void
- delPlinkID() : void
Properties
$plinkType
public
string
$plinkType
= 'forum'
$plinkUserID
public
int
$plinkUserID
$data
private
Data
$data
$user read-only
private
User
$user
Methods
__construct()
public
__construct(User $user[, int $userPublicID = 0 ]) : mixed
Parameters
- $user : User
- $userPublicID : int = 0
ajaxTogglePlink()
public
ajaxTogglePlink() : array<string|int, mixed>
Return values
array<string|int, mixed>createIconWithContent()
public
createIconWithContent(string $strIconCss, string $strContent) : string
Parameters
- $strIconCss : string
- $strContent : string
Return values
stringgetDataInstance()
public
getDataInstance() : Data
Return values
DatagetDataWriteInstance()
public
getDataWriteInstance() : DataWrite
Return values
DataWritegetPlinkByOtherID()
Wird aktuell nur bei PMs benötigt Wenn Absender geplinked, soll PMs geschrieben, aber als "gelesen" markiert werden
public
getPlinkByOtherID() : int
Return values
intgetPlinkIcon()
public
getPlinkIcon([string $type = 'plink' ]) : string
Parameters
- $type : string = 'plink'
Return values
stringgetPlinkID()
public
getPlinkID() : int
Return values
intgetUserPlinkIDs()
public
getUserPlinkIDs([string $plinkType = 'forum' ]) : array<string|int, mixed>
Parameters
- $plinkType : string = 'forum'
Return values
array<string|int, mixed>setPlinkedMsgToRead()
public
setPlinkedMsgToRead() : void
writePlinkID()
public
writePlinkID() : void
delPlinkID()
private
delPlinkID() : void