Public Member Functions | |
__construct () | |
getcapacity () | |
getdescription () | |
getid () | |
getstr_capacity () | |
getstr_description () | |
getstr_id () | |
propertyArray () | |
base for property array | |
setcapacity ($value) | |
setdescription ($value) | |
setid ($value) | |
toString () | |
toTableroom (&$table) | |
toXml ($xml, $elementname="Room") | |
Static Public Member Functions | |
static | fromString ($txt) |
static | fromTableArrayroom (array $table) |
static | fromTableroom ($table) |
static | fromXml ($xml, $elem) |
static | validatecapacity ($value) |
static | validatedescription ($value) |
static | validateid ($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_capacity = null | |
$prop_description = null | |
$prop_id = null |
WORoomAbstract::__construct | ( | ) |
Reimplemented from WObject.
static WORoomAbstract::fromString | ( | $ | txt | ) | [static] |
References fromXml(), and translate().
static WORoomAbstract::fromTableArrayroom | ( | array $ | table | ) | [static] |
Referenced by WTrGetAllRooms::handleRequest().
static WORoomAbstract::fromTableroom | ( | $ | table | ) | [static] |
Referenced by WORoom::createRoom().
static WORoomAbstract::fromXml | ( | $ | xml, | |
$ | elem | |||
) | [static] |
References fromXmlHelper().
Referenced by fromString().
static WORoomAbstract::fromXmlHelper | ( | $ | data, | |
$ | xml, | |||
$ | elem | |||
) | [static, protected] |
base for deserialization
Reimplemented from WObject.
References WObject::elementsByTagName().
Referenced by fromXml().
WORoomAbstract::getcapacity | ( | ) |
Referenced by toXmlHelper().
WORoomAbstract::getdescription | ( | ) |
Referenced by toXmlHelper().
WORoomAbstract::getid | ( | ) |
Referenced by toXmlHelper().
WORoomAbstract::getstr_capacity | ( | ) |
Referenced by toXmlHelper().
WORoomAbstract::getstr_description | ( | ) |
Referenced by toXmlHelper().
WORoomAbstract::getstr_id | ( | ) |
Referenced by toXmlHelper().
WORoomAbstract::propertyArray | ( | ) |
base for property array
Reimplemented from WObject.
WORoomAbstract::setcapacity | ( | $ | value | ) |
WORoomAbstract::setdescription | ( | $ | value | ) |
WORoomAbstract::setid | ( | $ | value | ) |
WORoomAbstract::toString | ( | ) |
References toXml().
WORoomAbstract::toTableroom | ( | &$ | table | ) |
WORoomAbstract::toXml | ( | $ | xml, | |
$ | elementname = "Room" | |||
) |
References toXmlHelper().
Referenced by toString().
WORoomAbstract::toXmlHelper | ( | $ | xml, | |
$ | root | |||
) | [protected] |
base for serialization
Reimplemented from WObject.
References getcapacity(), getdescription(), getid(), getstr_capacity(), getstr_description(), getstr_id(), and xq().
Referenced by toXml().
static WORoomAbstract::validatecapacity | ( | $ | value | ) | [static] |
static WORoomAbstract::validatedescription | ( | $ | value | ) | [static] |
static WORoomAbstract::validateid | ( | $ | value | ) | [static] |
WORoomAbstract::$prop_capacity = null [protected] |
WORoomAbstract::$prop_description = null [protected] |
WORoomAbstract::$prop_id = null [protected] |