Docs Goabase

ForumStats
in package
uses TraitMemberLink, TraitPage

Table of Contents

Properties

$env  : array<string|int, mixed>
$forumThreadRights  : ForumThreadRights
$memberLink  : MemberLink
$nID  : int
$page  : Page
$pageData  : array<string|int, mixed>

Methods

__construct()  : mixed
getMemberLinkInstance()  : MemberLink
getPageInstance()  : Page
getStatsContainer()  : string
getStats()  : string
getStatsContent()  : array<string|int, mixed>
getStatsTable()  : array<string|int, mixed>

Properties

$pageData

private array<string|int, mixed> $pageData

Methods

__construct()

public __construct(array<string|int, mixed> $pageData, int $nID) : mixed
Parameters
$pageData : array<string|int, mixed>
$nID : int

getStatsContainer()

public getStatsContainer() : string
Tags
throws
Exception
Return values
string

getStats()

private getStats() : string
Tags
throws
Exception
Return values
string

getStatsContent()

private getStatsContent() : array<string|int, mixed>
Tags
throws
Exception
Return values
array<string|int, mixed>

getStatsTable()

private getStatsTable(string $table[, string $sqlWhere = '' ]) : array<string|int, mixed>
Parameters
$table : string
$sqlWhere : string = ''
Return values
array<string|int, mixed>
  • $nVotes, $nPlus, $nMinus, $nPercentPlus, $nPercentMinus

        
On this page

Search results