ForumTools
in package
Some tools
Table of Contents
- getBoardsList() : string
- Forum
- getEditForm() : string
- getStats() : string
- getStatsTable() : array<string|int, mixed>
- getTopics() : string
- Get the topics for the forum as span/input-elements
- getUserIDs() : array<string|int, mixed>
- makeTopicRadio() : string|void
- updateTopicCnt() : void
- Aktualisiert Forum-Zaehler
- fillRadio() : string
Methods
getBoardsList()
Forum
public
static getBoardsList(int $nLangID[, array<string|int, mixed> $saCfgForum = [] ]) : string
Erste Version 10.12.1998
Parameters
- $nLangID : int
- $saCfgForum : array<string|int, mixed> = []
Return values
string —getEditForm()
public
static getEditForm(array<string|int, mixed> $saMessage, int $nID) : string
Parameters
- $saMessage : array<string|int, mixed>
- $nID : int
Return values
string —getStats()
public
static getStats([int $nHours = 168 ]) : string
Parameters
- $nHours : int = 168
Return values
string —getStatsTable()
public
static 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
getTopics()
Get the topics for the forum as span/input-elements
public
static getTopics( $table, $nForumID) : string
Parameters
Return values
string —getUserIDs()
public
static getUserIDs(int $nID) : array<string|int, mixed>
Parameters
- $nID : int
Return values
array<string|int, mixed> —makeTopicRadio()
public
static makeTopicRadio( $saAtt, $saCfgForum) : string|void
Parameters
Return values
string|void —updateTopicCnt()
Aktualisiert Forum-Zaehler
public
static updateTopicCnt(int $nForumID[, array<string|int, mixed> $saCfgForum = [] ]) : void
Parameters
- $nForumID : int
- $saCfgForum : array<string|int, mixed> = []
Return values
void —fillRadio()
private
static fillRadio( $result, array<string|int, mixed> $saOpt) : string