PartyInfo
in package
PartyInfo
Table of Contents
- cntSubs() : int
- counts all sub-entries from tables like party_* saves data for 90 sec in session
- getHead() : string
- getRealLoc() : string
- getShareBtnAjax() : string
- Ein Button, der die Shares per Ajax holt
- getShort() : array<string|int, mixed>
- Returns an array of different complete party infos.
- getStartsIn() : string
- getStatusImg() : string
- Erzeugt new/update etc. an
- getUnifiedLoc() : array<string|int, mixed>
- getWhoWhere() : string
Methods
cntSubs()
counts all sub-entries from tables like party_* saves data for 90 sec in session
public
static cntSubs(string $strTable, int $nID[, bool $bForce = false ]) : int
Parameters
- $strTable : string
- $nID : int
-
- Party-ID
- $bForce : bool = false
Tags
Return values
int —Anzahl
getHead()
public
static getHead( $saParty) : string
Parameters
Return values
string —getRealLoc()
public
static getRealLoc(array<string|int, mixed> $return) : string
Parameters
- $return : array<string|int, mixed>
Return values
string —getShareBtnAjax()
Ein Button, der die Shares per Ajax holt
public
static getShareBtnAjax(array<string|int, mixed> $saParty) : string
Parameters
- $saParty : array<string|int, mixed>
Return values
string —getShort()
Returns an array of different complete party infos.
public
static getShort(array<string|int, mixed> $saParty[, int $nLen = 120 ][, string $strLink = '' ], int $nPartyLen) : array<string|int, mixed>
Checks for flyer
Parameters
- $saParty : array<string|int, mixed>
- $nLen : int = 120
-
- kuerze line-up auf diese zeichenlaenge
- $strLink : string = ''
-
- url wohin es gehen soll
- $nPartyLen : int
-
- länge des partynamens, bei 0 wird nicht gekürzt
Return values
array<string|int, mixed> —getStartsIn()
public
static getStartsIn(string $strStartDate, string $strEndDate) : string
Parameters
- $strStartDate : string
- $strEndDate : string
Return values
string —getStatusImg()
Erzeugt new/update etc. an
public
static getStatusImg(array<string|int, mixed> $saParty[, bool $bAsLink = false ]) : string
Parameters
- $saParty : array<string|int, mixed>
- $bAsLink : bool = false
Return values
string —Tags
getUnifiedLoc()
public
static getUnifiedLoc(array<string|int, mixed> $return) : array<string|int, mixed>
Parameters
- $return : array<string|int, mixed>
Return values
array<string|int, mixed> —getWhoWhere()
public
static getWhoWhere(array<string|int, mixed> $return) : string
Parameters
- $return : array<string|int, mixed>