PartyCountries
in package
uses
TraitData
FinalYes
Table of Contents
Properties
- $totalCountries : int
- $totalParties : int
- $bPast : int
- $data : Data
- $getParas : array<string|int, mixed>
- $partySQL : PartySQL
- $tplCountry : string
Methods
- __construct() : mixed
- getCountryListByParty() : string
- getDataInstance() : Data
- getPartyCountries() : array<string|int, mixed>
- Zeigt alle laender aller partys und gibt werte zurueck (abhaengig von template)
- buildCountrySQL() : string
- getTotalParties() : int
- loadCountryClass() : PartyCountriesCloudTpl|PartyCountriesJsonLDTpl|PartyCountriesJsonTpl|PartyCountriesXmlTpl|false
Properties
$totalCountries
public
int
$totalCountries
= 0
$totalParties
public
int
$totalParties
= 0
$bPast
private
int
$bPast
$data
private
Data
$data
$getParas
private
array<string|int, mixed>
$getParas
$partySQL
private
PartySQL
$partySQL
$tplCountry
private
string
$tplCountry
= '_cloud'
Methods
__construct()
public
__construct([array<string|int, mixed> $getParas = [] ]) : mixed
Parameters
- $getParas : array<string|int, mixed> = []
getCountryListByParty()
public
getCountryListByParty() : string
Return values
stringgetDataInstance()
public
getDataInstance() : Data
Return values
DatagetPartyCountries()
Zeigt alle laender aller partys und gibt werte zurueck (abhaengig von template)
public
getPartyCountries([string $strTemplate = '_cloud' ]) : array<string|int, mixed>
Parameters
- $strTemplate : string = '_cloud'
Tags
Return values
array<string|int, mixed> —- abhängig von template
buildCountrySQL()
private
buildCountrySQL(string $strSQL) : string
Parameters
- $strSQL : string
Return values
stringgetTotalParties()
private
getTotalParties(array<string|int, mixed> $sqlA) : int
Parameters
- $sqlA : array<string|int, mixed>
Return values
intloadCountryClass()
private
loadCountryClass() : PartyCountriesCloudTpl|PartyCountriesJsonLDTpl|PartyCountriesJsonTpl|PartyCountriesXmlTpl|false