ForumThreadMember
in package
uses
TraitData
FinalYes
Table of Contents
Properties
- $daysThread : int
- $data : Data
- $env : array<string|int, mixed>
- $threadData : array<string|int, mixed>
- $threadID : int
Methods
- __construct() : mixed
- getDataInstance() : Data
- getIDsOfThread() : array<string|int, mixed>
- Get's all related posts
- openPage() : void
- calculateThreadAgeInDays() : int
- getForumHeadLineOnMember() : string
- getPageIntro() : string
- getPageMemberList() : string
- getThreadTitle() : string
- getThreadUserIDs() : array<string|int, mixed>
- setThreadFromIndex() : void
- setThreadID() : void
Properties
$daysThread
public
int
$daysThread
= 0
$data
private
Data
$data
$env
private
array<string|int, mixed>
$env
$threadData
private
array<string|int, mixed>
$threadData
= []
$threadID
private
int
$threadID
= 0
Methods
__construct()
public
__construct([int $nID = 0 ]) : mixed
Parameters
- $nID : int = 0
getDataInstance()
public
getDataInstance() : Data
Return values
DatagetIDsOfThread()
Get's all related posts
public
getIDsOfThread() : array<string|int, mixed>
Return values
array<string|int, mixed> —- IDs des threads
openPage()
public
openPage(HtmlHeader $htmlHeader) : void
Parameters
- $htmlHeader : HtmlHeader
calculateThreadAgeInDays()
private
calculateThreadAgeInDays() : int
Return values
intgetForumHeadLineOnMember()
private
getForumHeadLineOnMember() : string
Return values
stringgetPageIntro()
private
getPageIntro(array<string|int, mixed> $pageData, array<string|int, mixed> $getParas) : string
Parameters
- $pageData : array<string|int, mixed>
- $getParas : array<string|int, mixed>
Return values
stringgetPageMemberList()
private
getPageMemberList(array<string|int, mixed> $getParas) : string
Parameters
- $getParas : array<string|int, mixed>
Return values
stringgetThreadTitle()
private
getThreadTitle([int|null $nPos = 0 ]) : string
Parameters
- $nPos : int|null = 0
Return values
stringgetThreadUserIDs()
private
getThreadUserIDs() : array<string|int, mixed>
Return values
array<string|int, mixed>setThreadFromIndex()
private
setThreadFromIndex() : void
setThreadID()
private
setThreadID(int $threadID) : void
Parameters
- $threadID : int