Docs Goabase

ScoresTotal
in package
uses TraitUser

Table of Contents

Properties

$nUserID  : int
$scoreMonth  : int
$user  : User

Methods

__construct()  : mixed
getTotal()  : array{'nPosts': int, 'strStarIcon': string, 'nScore': int, 'nScoreCount': int}
Gibt das Scoring über einen selbst oder andere als Stern
getUserInstance()  : User
setScoreMonth()  : void
adjustScoreCounts()  : array<string|int, mixed>
getCntByResult()  : array<string|int, mixed>
getCntPosts()  : int

Properties

Methods

__construct()

public __construct([int $nUserID = 0 ]) : mixed
Parameters
$nUserID : int = 0

getTotal()

Gibt das Scoring über einen selbst oder andere als Stern

public getTotal(string $strTable[, bool $isAboutMe = true ]) : array{'nPosts': int, 'strStarIcon': string, 'nScore': int, 'nScoreCount': int}

Seit 12.05. beschränkt auf 18 Monate

Parameters
$strTable : string
$isAboutMe : bool = true
Return values
array{'nPosts': int, 'strStarIcon': string, 'nScore': int, 'nScoreCount': int}

setScoreMonth()

public setScoreMonth(int $scoreMonth) : void
Parameters
$scoreMonth : int

adjustScoreCounts()

private adjustScoreCounts(int|null $nRows, array<string|int, mixed> $naCnt) : array<string|int, mixed>
Parameters
$nRows : int|null
$naCnt : array<string|int, mixed>
Return values
array<string|int, mixed>

getCntByResult()

private getCntByResult(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>
Return values
array<string|int, mixed>

getCntPosts()

private getCntPosts(string $strTable) : int
Parameters
$strTable : string
Return values
int

        
On this page

Search results