Public Member Functions | |
__construct () | |
getid () | |
getname () | |
getstr_id () | |
getstr_name () | |
propertyArray () | |
base for property array | |
setid ($value) | |
setname ($value) | |
toString () | |
toTablecountry (&$table) | |
toXml ($xml, $elementname="Country") | |
Static Public Member Functions | |
static | fromString ($txt) |
static | fromTableArraycountry (array $table) |
static | fromTablecountry ($table) |
static | fromXml ($xml, $elem) |
static | validateid ($value) |
static | validatename ($value) |
Protected Member Functions | |
toXmlHelper ($xml, $root) | |
base for serialization | |
Static Protected Member Functions | |
static | fromXmlHelper ($data, $xml, $elem) |
base for deserialization | |
Protected Attributes | |
$prop_id = null | |
$prop_name = null |
WOCountry::__construct | ( | ) |
Reimplemented from WObject.
static WOCountry::fromString | ( | $ | txt | ) | [static] |
References fromXml(), and translate().
static WOCountry::fromTableArraycountry | ( | array $ | table | ) | [static] |
Referenced by WebCart::changeAddressPage(), WTrGetAllCountries::handleRequest(), and WOCustomer::loginPage().
static WOCountry::fromTablecountry | ( | $ | table | ) | [static] |
Referenced by WOCustomer::createCountry(), and WOAddress::fromTableaddress().
static WOCountry::fromXml | ( | $ | xml, | |
$ | elem | |||
) | [static] |
References fromXmlHelper().
Referenced by fromString(), and WOAddress::fromXmlHelper().
static WOCountry::fromXmlHelper | ( | $ | data, | |
$ | xml, | |||
$ | elem | |||
) | [static, protected] |
WOCountry::getid | ( | ) |
Referenced by toXmlHelper().
WOCountry::getname | ( | ) |
Referenced by toXmlHelper().
WOCountry::getstr_id | ( | ) |
Referenced by toXmlHelper().
WOCountry::getstr_name | ( | ) |
Referenced by toXmlHelper().
WOCountry::propertyArray | ( | ) |
base for property array
Reimplemented from WObject.
WOCountry::setid | ( | $ | value | ) |
WOCountry::setname | ( | $ | value | ) |
WOCountry::toString | ( | ) |
References toXml().
WOCountry::toTablecountry | ( | &$ | table | ) |
WOCountry::toXml | ( | $ | xml, | |
$ | elementname = "Country" | |||
) |
References toXmlHelper().
Referenced by toString().
WOCountry::toXmlHelper | ( | $ | xml, | |
$ | root | |||
) | [protected] |
base for serialization
Reimplemented from WObject.
References getid(), getname(), getstr_id(), and getstr_name().
Referenced by toXml().
static WOCountry::validateid | ( | $ | value | ) | [static] |
static WOCountry::validatename | ( | $ | value | ) | [static] |
WOCountry::$prop_id = null [protected] |
WOCountry::$prop_name = null [protected] |