MagicSmoke  $VERSION$
WOHost Class Reference
Inheritance diagram for WOHost:
WObject

Public Member Functions

 __construct ()
 
 getkey ()
 
 getname ()
 
 getstr_key ()
 
 getstr_name ()
 
 propertyArray ()
 
 setkey ($value)
 
 setname ($value)
 
 toString ()
 
 toTablehost (&$table)
 
 toXml ($xml, $elementname="Host")
 
- Public Member Functions inherited from WObject
 propertyArray ()
 base for property array More...
 

Static Public Member Functions

static fromString ($txt)
 
static fromTableArrayhost (array $table)
 
static fromTablehost ($table)
 
static fromXml ($xml, $elem)
 
static validatekey ($value)
 
static validatename ($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_key =null
 
 $prop_name =null
 

Constructor & Destructor Documentation

WOHost::__construct ( )

Member Function Documentation

static WOHost::fromString (   $txt)
static

References translate().

static WOHost::fromTableArrayhost ( array  $table)
static

References $i.

Referenced by WTrGetAllHosts\handleRequest().

static WOHost::fromTablehost (   $table)
static
static WOHost::fromXml (   $xml,
  $elem 
)
static
static WOHost::fromXmlHelper (   $data,
  $xml,
  $elem 
)
staticprotected
WOHost::getkey ( )

References $prop_key.

Referenced by toXmlHelper().

WOHost::getname ( )

References $prop_name.

Referenced by toXmlHelper().

WOHost::getstr_key ( )

References $prop_key.

Referenced by toXmlHelper().

WOHost::getstr_name ( )

References $prop_name.

Referenced by toXmlHelper().

WOHost::propertyArray ( )
WOHost::setkey (   $value)
WOHost::setname (   $value)
WOHost::toString ( )

References toXml().

WOHost::toTablehost ( $table)

References $prop_key, and $prop_name.

WOHost::toXml (   $xml,
  $elementname = "Host" 
)

References toXmlHelper().

Referenced by toString().

WOHost::toXmlHelper (   $xml,
  $root 
)
protected

References getkey(), getname(), getstr_key(), getstr_name(), and xq().

Referenced by toXml().

static WOHost::validatekey (   $value)
static
static WOHost::validatename (   $value)
static

Member Data Documentation

WOHost::$prop_key =null
protected

Referenced by getkey(), getstr_key(), and toTablehost().

WOHost::$prop_name =null
protected

Referenced by getname(), getstr_name(), and toTablehost().


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