MagicSmoke  $VERSION$
WOShipping Class Reference

implementation of access to shipping types More...

Inheritance diagram for WOShipping:
WOShippingAbstract WObject

Static Public Member Functions

static change ($trans)
 
static create ($trans)
 create a new shipping type More...
 
static remove ($trans)
 
- Static Public Member Functions inherited from WOShippingAbstract
static fromString ($txt)
 
static fromTableArrayshipping (array $table)
 
static fromTableshipping ($table)
 
static fromXml ($xml, $elem)
 
static validatecanuse ($value)
 
static validatecost ($value)
 
static validatedescription ($value)
 
static validateflags ($value)
 
static validateshipid ($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 WOShippingAbstract
 __construct ()
 
 getcanuse ()
 
 getcost ()
 
 getdescription ()
 
 getflags ()
 
 getshipid ()
 
 getstr_canuse ()
 
 getstr_cost ()
 
 getstr_description ()
 
 getstr_flags ()
 
 getstr_shipid ()
 
 propertyArray ()
 
 setcanuse ($value)
 
 setcost ($value)
 
 setdescription ($value)
 
 setflags ($value)
 
 setshipid ($value)
 
 toString ()
 
 toTableshipping (&$table)
 
 toXml ($xml, $elementname="Shipping")
 
- Public Member Functions inherited from WObject
 propertyArray ()
 base for property array More...
 
- Protected Member Functions inherited from WOShippingAbstract
 toXmlHelper ($xml, $root)
 
- Protected Member Functions inherited from WObject
 __construct ()
 
 toXmlHelper ($xml, $root)
 base for serialization More...
 
- Static Protected Member Functions inherited from WOShippingAbstract
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 WOShippingAbstract
 $prop_canuse =null
 
 $prop_cost =null
 
 $prop_description =null
 
 $prop_flags =null
 
 $prop_shipid =null
 

Detailed Description

implementation of access to shipping types

Member Function Documentation

static WOShipping::change (   $trans)
static
static WOShipping::create (   $trans)
static

create a new shipping type

References WOShippingAbstract\fromTableshipping(), and WTshipping\newRow().

Referenced by WTrCreateShipping\handleRequest().

static WOShipping::remove (   $trans)
static

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