Docs Goabase

Forum
in package

Forums-Klassen

Table of Contents

cntStarts()  : int|mixed
cntThread()  : mixed
Anzahl Posts im Thread
cntUserImages()  : int
getDeepLink()  : string
getIDsOfThread()  : array<string|int, mixed>
Get's all related posts
getList()  : string
Zeigt alle threads des kompletten forums / aller boards
getListSQL()  : array<string|int, mixed>
getPostingLevel()  : int
Checks the writing rights in the forum, Depending on the entrydate of the user Older users are able to do more Banned users can't do anything
getPostingLimit()  : array<string|int, mixed>
Hole die anzahl postings der letzten 24 stunden bei neuen membern
getThread()  : string
Zeigt den Thread
getTopicFields()  : string
getVisited()  : string
setVisit()  : void
getImageIDs()  : string
Gibt komma-separierte IDs zurück
getSQL()  : array<string|int, mixed>
Get the SQL for the thread

Methods

cntStarts()

public static cntStarts( $PUID) : int|mixed
Parameters
$PUID :
Return values
int|mixed

cntThread()

Anzahl Posts im Thread

public static cntThread(int $nID, int $nPos[, array<string|int, mixed> $saAtt = [] ]) : mixed
Parameters
$nID : int
$nPos : int
$saAtt : array<string|int, mixed> = []
Return values
mixed

returns number of threads

cntUserImages()

public static cntUserImages() : int
Return values
int
public static getDeepLink( $nID) : string
Parameters
$nID :
Return values
string

getIDsOfThread()

Get's all related posts

public static getIDsOfThread(int $nID, int $nDays) : array<string|int, mixed>
Parameters
$nID : int
  • the id for the ref_id
$nDays : int
  • limited on the days since now. 0 = no limit
Return values
array<string|int, mixed>
  • IDs des threads

getList()

Zeigt alle threads des kompletten forums / aller boards

public static getList(int $nPos, array<string|int, mixed> $saAtt[, array<string|int, mixed> &$saCfgForum = [] ]) : string

Die Aufteilung in "Boards" ist eher künstlich

Parameters
$nPos : int
$saAtt : array<string|int, mixed>
$saCfgForum : array<string|int, mixed> = []
Return values
string

$strOutput

getListSQL()

public static getListSQL( $nPos,  $saAtt[, array<string|int, mixed> &$saCfgForum = [] ]) : array<string|int, mixed>
Parameters
$nPos :
$saAtt :
$saCfgForum : array<string|int, mixed> = []
Return values
array<string|int, mixed>

getPostingLevel()

Checks the writing rights in the forum, Depending on the entrydate of the user Older users are able to do more Banned users can't do anything

public static getPostingLevel() : int
Return values
int

$nPostingLevel - 0 = no, 1 = starter, 2 = expanded, 3 = full

getPostingLimit()

Hole die anzahl postings der letzten 24 stunden bei neuen membern

public static getPostingLimit() : array<string|int, mixed>
Return values
array<string|int, mixed>

getThread()

Zeigt den Thread

public static getThread(int $nID, int $nPos[, array<string|int, mixed> $saAtt = [] ]) : string
Parameters
$nID : int
$nPos : int
$saAtt : array<string|int, mixed> = []
Return values
string

param string $saCfgForum param bool $bShowAll param string $strTemplate

getTopicFields()

public static getTopicFields( $strForumTable[, string $strSQLWhere = '' ]) : string
Parameters
$strForumTable :
$strSQLWhere : string = ''
Return values
string

getVisited()

public static getVisited() : string
Return values
string

setVisit()

public static setVisit(int $nID, int $nPos[, string $strThreadTitle = '' ]) : void
Parameters
$nID : int
$nPos : int
$strThreadTitle : string = ''
Return values
void

getImageIDs()

Gibt komma-separierte IDs zurück

protected static getImageIDs( $nID) : string
Parameters
$nID :
Return values
string

getSQL()

Get the SQL for the thread

protected static getSQL(int $nID, int $nPos[, array<string|int, mixed> $saAtt = [] ]) : array<string|int, mixed>
Parameters
$nID : int
$nPos : int
$saAtt : array<string|int, mixed> = []
Return values
array<string|int, mixed>
  • 0 - count, 1 = with limit, 3 = without limit

param string $saCfgForum param bool $bShowAll param string $strTemplate

Search results