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

Public Member Functions

 __construct ()
 
 getid ()
 
 getname ()
 
 getstr_id ()
 
 getstr_name ()
 
 propertyArray ()
 
 setid ($value)
 
 setname ($value)
 
 toString ()
 
 toTablecountry (&$table)
 
 toXml ($xml, $elementname="Country")
 
- Public Member Functions inherited from WObject
 propertyArray ()
 base for property array More...
 

Static Public Member Functions

static fromString ($txt)
 
static fromTableArraycountry (array $table)
 
static fromTablecountry ($table)
 
static fromXml ($xml, $elem)
 
static validateid ($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_id =null
 
 $prop_name =null
 

Constructor & Destructor Documentation

WOCountry::__construct ( )

Member Function Documentation

static WOCountry::fromString (   $txt)
static

References translate().

static WOCountry::fromTableArraycountry ( array  $table)
static
static WOCountry::fromTablecountry (   $table)
static
static WOCountry::fromXml (   $xml,
  $elem 
)
static

Referenced by WOAddress\fromXmlHelper().

static WOCountry::fromXmlHelper (   $data,
  $xml,
  $elem 
)
staticprotected
WOCountry::getid ( )

References $prop_id.

Referenced by toXmlHelper().

WOCountry::getname ( )

References $prop_name.

Referenced by toXmlHelper().

WOCountry::getstr_id ( )

References $prop_id.

Referenced by toXmlHelper().

WOCountry::getstr_name ( )

References $prop_name.

Referenced by toXmlHelper().

WOCountry::propertyArray ( )
WOCountry::setid (   $value)
WOCountry::setname (   $value)
WOCountry::toString ( )

References toXml().

WOCountry::toTablecountry ( $table)

References $prop_id, and $prop_name.

WOCountry::toXml (   $xml,
  $elementname = "Country" 
)

References toXmlHelper().

Referenced by toString().

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

References getid(), getname(), getstr_id(), and getstr_name().

Referenced by toXml().

static WOCountry::validateid (   $value)
static
static WOCountry::validatename (   $value)
static

Member Data Documentation

WOCountry::$prop_id =null
protected

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

WOCountry::$prop_name =null
protected

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