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

Static Public Member Functions

static createRoom ($trans)
 called from the CreateRoom transaction More...
 
- Static Public Member Functions inherited from WORoomAbstract
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...
 

Additional Inherited Members

- Public Member Functions inherited from WORoomAbstract
 __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...
 
- Protected Member Functions inherited from WORoomAbstract
 toXmlHelper ($xml, $root)
 
- Protected Member Functions inherited from WObject
 __construct ()
 
 toXmlHelper ($xml, $root)
 base for serialization More...
 
- Static Protected Member Functions inherited from WORoomAbstract
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 inherited from WORoomAbstract
 $prop_capacity =null
 
 $prop_description =null
 
 $prop_id =null
 

Member Function Documentation

static WORoom::createRoom (   $trans)
static

called from the CreateRoom transaction

References WORoomAbstract\fromTableroom(), WTroom\getFromDB(), WTroom\newRow(), and tr().

Referenced by WTrCreateRoom\handleRequest().


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