Docs Goabase

ApiParty
in package
uses TraitData, TraitSeo

FinalYes

Table of Contents

Properties

$apiTools  : ApiTools
$exportLimit  : int
$getParas  : array<string|int, mixed>
$partySQL  : PartySQL
$seo  : Seo
$data  : Data
$input  : Input
$version  : int

Methods

__construct()  : mixed
fetchUpcomingPartiesXML()  : array<string|int, mixed>
getDataInstance()  : Data
getLimitForExport()  : int
getPartyItemListJsonLD()  : string
In use on parties.php for bots only
getSeoInstance()  : Seo
outputResult()  : void
checkPID()  : void
fetchAndSetVersion()  : int
fetchCountriesJson()  : array<string|int, mixed>
fetchHeaderContent()  : string
Returns the header content for the response
fetchPartyList()  : array<string|int, mixed>
fetchPartyListJson()  : array<string|int, mixed>
Returns the list as JSON
fetchPartyListJsonLD()  : array{'name': string, 'numberOfItems': mixed, 'itemListElement': array}
Returns the list as JSON
getPartyDetailsJson()  : string
getPartyDetailsVerOne()  : array<string|int, mixed>
getPartyListResultJson()  : string
getSeoName()  : string
setResponseHeaders()  : void
Set the response headers

Properties

$getParas

public array<string|int, mixed> $getParas = []

Methods

fetchUpcomingPartiesXML()

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

getLimitForExport()

public getLimitForExport() : int
Return values
int

getPartyItemListJsonLD()

In use on parties.php for bots only

public getPartyItemListJsonLD() : string
Return values
string

outputResult()

public outputResult([array<string|int, mixed>|null $partyData = [] ]) : void
Parameters
$partyData : array<string|int, mixed>|null = []

fetchAndSetVersion()

private fetchAndSetVersion() : int
Return values
int

fetchCountriesJson()

private fetchCountriesJson() : array<string|int, mixed>
Return values
array<string|int, mixed>

fetchHeaderContent()

Returns the header content for the response

private fetchHeaderContent() : string
Return values
string

fetchPartyList()

private fetchPartyList() : array<string|int, mixed>
Return values
array<string|int, mixed>

fetchPartyListJson()

Returns the list as JSON

private fetchPartyListJson() : array<string|int, mixed>
Return values
array<string|int, mixed>

fetchPartyListJsonLD()

Returns the list as JSON

private fetchPartyListJsonLD([bool $isPage = false ]) : array{'name': string, 'numberOfItems': mixed, 'itemListElement': array}
Parameters
$isPage : bool = false
Return values
array{'name': string, 'numberOfItems': mixed, 'itemListElement': array}

getPartyDetailsJson()

private getPartyDetailsJson([array<string|int, mixed> $partyData = [] ]) : string
Parameters
$partyData : array<string|int, mixed> = []
Return values
string

getPartyDetailsVerOne()

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

getPartyListResultJson()

private getPartyListResultJson() : string
Return values
string

getSeoName()

private getSeoName(mixed $saRow) : string
Parameters
$saRow : mixed
Return values
string

setResponseHeaders()

Set the response headers

private setResponseHeaders() : void

        
On this page

Search results