Api
in package
Json / XML event data
Table of Contents
- getCleanJsonContentParty() : array<string|int, mixed>
- Helper to get clean content
- getEncode() : string
- Gibt utf8_encode zurueck, wenn der zeichensatz nicht utf8 ist helper-funktion fuer die umstellung auf utf8
- getPartyListJson() : array<string|int, mixed>
- Returns the list as JSON
- getPartyListJsonLD() : array<string|int, mixed>
- Returns the list as JSON
- getPartyListXML() : void
- Gibt Party-Liste als XML aus
- removeCtrlChars() : string
- Removes invalid ctrl-chars from XML
Methods
getCleanJsonContentParty()
Helper to get clean content
public
static getCleanJsonContentParty(array<string|int, mixed> $saRow) : array<string|int, mixed>
Parameters
- $saRow : array<string|int, mixed>
-
- the tulpel / record of the party
Return values
array<string|int, mixed> —getEncode()
Gibt utf8_encode zurueck, wenn der zeichensatz nicht utf8 ist helper-funktion fuer die umstellung auf utf8
public
static getEncode(string $val) : string
Parameters
- $val : string
Return values
string —getPartyListJson()
Returns the list as JSON
public
static getPartyListJson([array<string|int, mixed> $saAtt = [] ]) : array<string|int, mixed>
Parameters
- $saAtt : array<string|int, mixed> = []
-
- usual search fields and their values
Return values
array<string|int, mixed> —getPartyListJsonLD()
Returns the list as JSON
public
static getPartyListJsonLD([array<string|int, mixed> $saAtt = [] ]) : array<string|int, mixed>
Parameters
- $saAtt : array<string|int, mixed> = []
-
- usual search fields and their values
Return values
array<string|int, mixed> —getPartyListXML()
Gibt Party-Liste als XML aus
public
static getPartyListXML([array<string|int, mixed> $saAtt = [] ][, string $strDate = '1970-01-01 00:00:00' ]) : void
Parameters
- $saAtt : array<string|int, mixed> = []
-
- uebliche suchfelder fuer party
- $strDate : string = '1970-01-01 00:00:00'
-
- ISO 9601
Return values
void —removeCtrlChars()
Removes invalid ctrl-chars from XML
public
static removeCtrlChars(string $strVal) : string
Parameters
- $strVal : string