Package DE_EPAGES::Object::API::Table::Country
interface for table Country
Functions
- DeleteCountry
- ExistsCountry
- ExistsCountryByCode2
- ExistsCountryByCode3
- GetAllInfoCountries
- GetAllPKeyCountries
- GetInfoCountriesByCode2
- GetInfoCountriesByCode3
- GetInfoCountry
- GetInfoCountryByCode2
- GetInfoCountryByCode3
- GetPKeyCountriesByCode2
- GetPKeyCountriesByCode3
- GetPKeyCountryByCode2
- GetPKeyCountryByCode3
- InsertCountry
- UpdateCountry
DeleteCountry
Deletes a(n) Country.
Syntax |
DeleteCountry($CountryID); DeleteCountry($hCountry); # if $hCountry includes CountryID |
Input |
|
ExistsCountry
Returns true if the Country exists.
Syntax |
$exists = ExistsCountry($CountryID); |
Input |
|
Return |
|
ExistsCountryByCode2
Returns true if a Country by alternate key Code2 exists.
Syntax |
$CountryID = ExistsCountryByCode2($Code2); |
Input |
|
Return |
|
ExistsCountryByCode3
Returns true if a Country by alternate key Code3 exists.
Syntax |
$CountryID = ExistsCountryByCode3($Code3); |
Input |
|
Return |
|
GetAllInfoCountries
Returns all objects of Country.
Syntax |
$ahCountrys = GetAllInfoCountries(); |
Return |
|
GetAllPKeyCountries
Returns all Country identifiers.
Syntax |
$aCountryIDs = GetAllPKeyCountries(); |
Return |
|
GetInfoCountriesByCode2
Returns objects of Country by alternate key Code2.
Syntax |
$ahCountries = GetInfoCountriesByCode2($Code2); |
Input |
|
Return |
|
GetInfoCountriesByCode3
Returns objects of Country by alternate key Code3.
Syntax |
$ahCountries = GetInfoCountriesByCode3($Code3); |
Input |
|
Return |
|
GetInfoCountry
Returns the Country by identifier.
Syntax |
$hCountry = GetInfoCountry($CountryID); |
Input |
|
Return |
|
GetInfoCountryByCode2
Returns the object of Country by alternate key Code2.
Syntax |
$hCountry = GetInfoCountryByCode2($Code2); |
Input |
|
Return |
|
GetInfoCountryByCode3
Returns the object of Country by alternate key Code3.
Syntax |
$hCountry = GetInfoCountryByCode3($Code3); |
Input |
|
Return |
|
GetPKeyCountriesByCode2
Returns primary keys of Country by alternate key Code2.
Syntax |
$aKeys = GetPKeyCountriesByCode2($Code2); |
Input |
|
Return |
|
GetPKeyCountriesByCode3
Returns primary keys of Country by alternate key Code3.
Syntax |
$aKeys = GetPKeyCountriesByCode3($Code3); |
Input |
|
Return |
|
GetPKeyCountryByCode2
Returns primary key of Country by alternate key Code2.
Syntax |
$CountryID = GetPKeyCountryByCode2($Code2); |
Input |
|
Return |
|
GetPKeyCountryByCode3
Returns primary key of Country by alternate key Code3.
Syntax |
$CountryID = GetPKeyCountryByCode3($Code3); |
Input |
|
Return |
|
InsertCountry
Creates an entry of Country.
Syntax |
InsertCountry($hCountry); |
Input |
|
UpdateCountry
Updates a(n) Country if any element was changed.
Syntax |
UpdateCountry($CountryID, $hCountry); UpdateCountry($hCountry); # if $hCountry includes CountryID |
Input |
|