Docs Goabase

Api
in package
uses TraitSeo

Table of Contents

Properties

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

Methods

__construct()  : mixed
checkPID()  : void
fetchAndSetVersion()  : int
fetchHeaderContent()  : string
fetchLimitForExport()  : int
fetchPartyList()  : array<string|int, mixed>
getPartyDetailsVerOne()  : array<string|int, mixed>
getPartyListJson()  : array<string|int, mixed>
Returns the list as JSON
getPartyListJsonLD()  : array{'name': string, 'numberOfItems': mixed, 'itemListElement': array}
Returns the list as JSON
getSeoInstance()  : Seo
outputHeader()  : void
fetchCountriesJson()  : array<string|int, mixed>
getSeoName()  : string

Properties

$exportLimit

private int $exportLimit

$saAtt

private array<string|int, mixed> $saAtt

$version

private int $version = 1

Methods

__construct()

public __construct([array<string|int, mixed>|null $saAtt = [] ]) : mixed
Parameters
$saAtt : array<string|int, mixed>|null = []

checkPID()

public checkPID() : void

fetchAndSetVersion()

public fetchAndSetVersion() : int
Return values
int

fetchHeaderContent()

public fetchHeaderContent() : string
Return values
string

fetchLimitForExport()

public fetchLimitForExport() : int
Return values
int

fetchPartyList()

public fetchPartyList() : array<string|int, mixed>
Tags
throws
DateMalformedStringException
throws
RandomException
throws
Exception
Return values
array<string|int, mixed>

getPartyDetailsVerOne()

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

getPartyListJson()

Returns the list as JSON

public getPartyListJson() : array<string|int, mixed>
Tags
throws
DateMalformedStringException
throws
RandomException
Return values
array<string|int, mixed>

getPartyListJsonLD()

Returns the list as JSON

public getPartyListJsonLD() : array{'name': string, 'numberOfItems': mixed, 'itemListElement': array}
Tags
throws
DateMalformedStringException
throws
RandomException
Return values
array{'name': string, 'numberOfItems': mixed, 'itemListElement': array}

outputHeader()

public outputHeader() : void

fetchCountriesJson()

private fetchCountriesJson([array<string|int, mixed> $saAtt = [] ]) : array<string|int, mixed>
Parameters
$saAtt : array<string|int, mixed> = []
Tags
throws
Exception
Return values
array<string|int, mixed>

getSeoName()

private getSeoName(mixed $saRow) : string
Parameters
$saRow : mixed
Return values
string
Loading…
On this page

Search results