MagicSmoke  $VERSION$
WORoomAbstract Class Reference
Inheritance diagram for WORoomAbstract:
WObject WORoom

Public Member Functions

 __construct ()
 
 getcapacity ()
 
 getdescription ()
 
 getid ()
 
 getstr_capacity ()
 
 getstr_description ()
 
 getstr_id ()
 
 propertyArray ()
 
 setcapacity ($value)
 
 setdescription ($value)
 
 setid ($value)
 
 toString ()
 
 toTableroom (&$table)
 
 toXml ($xml, $elementname="Room")
 
- Public Member Functions inherited from WObject
 propertyArray ()
 base for property array More...
 

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)
 
- Static Public Member Functions inherited from WObject
static elementsByTagName ($root, $tag)
 helper function that returns only the elements directly beneith the one given as $root More...
 
static fromXmlBoolean ($str)
 helper function for XML'ized objects that transforms XML boolean to PHP boolean More...
 
static isXmlBoolean ($str)
 helper function for XML'ized objects: it returns whether the string is a valid boolean More...
 

Protected Member Functions

 toXmlHelper ($xml, $root)
 
- Protected Member Functions inherited from WObject
 __construct ()
 
 toXmlHelper ($xml, $root)
 base for serialization More...
 

Static Protected Member Functions

static fromXmlHelper ($data, $xml, $elem)
 
- Static Protected Member Functions inherited from WObject
static fromXmlHelper ($data, $xml, $elem)
 base for deserialization More...
 
static objectToArray ($obj)
 helper function for classy objects that calls getPropertyArray if available More...
 

Protected Attributes

 $prop_capacity =null
 
 $prop_description =null
 
 $prop_id =null
 

Constructor & Destructor Documentation

WORoomAbstract::__construct ( )

Member Function Documentation

static WORoomAbstract::fromString (   $txt)
static

References translate().

static WORoomAbstract::fromTableArrayroom ( array  $table)
static

References $i.

Referenced by WTrGetAllRooms\handleRequest().

static WORoomAbstract::fromTableroom (   $table)
static

Referenced by WORoom\createRoom().

static WORoomAbstract::fromXml (   $xml,
  $elem 
)
static
static WORoomAbstract::fromXmlHelper (   $data,
  $xml,
  $elem 
)
staticprotected
WORoomAbstract::getcapacity ( )

References $prop_capacity.

Referenced by toXmlHelper().

WORoomAbstract::getdescription ( )

References $prop_description.

Referenced by toXmlHelper().

WORoomAbstract::getid ( )

References $prop_id.

Referenced by toXmlHelper().

WORoomAbstract::getstr_capacity ( )

Referenced by toXmlHelper().

WORoomAbstract::getstr_description ( )

References $prop_description.

Referenced by toXmlHelper().

WORoomAbstract::getstr_id ( )

References $prop_id.

Referenced by toXmlHelper().

WORoomAbstract::propertyArray ( )
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
static WORoomAbstract::validatecapacity (   $value)
static
static WORoomAbstract::validatedescription (   $value)
static
static WORoomAbstract::validateid (   $value)
static

Member Data Documentation

WORoomAbstract::$prop_capacity =null
protected

Referenced by getcapacity(), and toTableroom().

WORoomAbstract::$prop_description =null
protected
WORoomAbstract::$prop_id =null
protected

Referenced by getid(), getstr_id(), and toTableroom().


The documentation for this class was generated from the following file: