MagicSmoke  $VERSION$
WOCartOrder Class Reference
Inheritance diagram for WOCartOrder:
WOCartOrderAbstract WObject

Static Public Member Functions

static createOrder ($trans)
 called by the CreateOrder and CreateReservation transactions More...
 
- Static Public Member Functions inherited from WOCartOrderAbstract
static fromString ($txt)
 
static fromTableArraycart (array $table)
 
static fromTablecart ($table)
 
static fromXml ($xml, $elem)
 
static validatecartid ($value)
 
static validatecomment ($value)
 
static validatecouponid ($value)
 
static validatecustomerid ($value)
 
static validatedeliveryaddressid ($value)
 
static validateinvoiceaddressid ($value)
 
static validateitems ($value)
 
static validateshippingtypeid ($value)
 
static validatestatus ($value)
 
static validatetickets ($value)
 
static validatevouchers ($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...
 

Public Attributes

const AfterSale =-2
 
const LateSale =-1
 
- Public Attributes inherited from WOCartOrderAbstract
const Invalid =1
 
const Ok =0
 

Additional Inherited Members

- Public Member Functions inherited from WOCartOrderAbstract
 __construct ()
 
 add_items ($value)
 
 add_tickets ($value)
 
 add_vouchers ($value)
 
 clear_items ()
 
 clear_tickets ()
 
 clear_vouchers ()
 
 getcartid ()
 
 getcomment ()
 
 getcouponid ()
 
 getcustomerid ()
 
 getdeliveryaddressid ()
 
 getinvoiceaddressid ()
 
 getitems ()
 
 getshippingtypeid ()
 
 getstatus ()
 
 getstr_cartid ()
 
 getstr_comment ()
 
 getstr_couponid ()
 
 getstr_customerid ()
 
 getstr_deliveryaddressid ()
 
 getstr_invoiceaddressid ()
 
 getstr_shippingtypeid ()
 
 getstr_status ()
 
 gettickets ()
 
 getvouchers ()
 
 propertyArray ()
 
 setcartid ($value)
 
 setcomment ($value)
 
 setcouponid ($value)
 
 setcustomerid ($value)
 
 setdeliveryaddressid ($value)
 
 setinvoiceaddressid ($value)
 
 setitems (array $values)
 
 setshippingtypeid ($value)
 
 setstatus ($value)
 
 settickets (array $values)
 
 setvouchers (array $values)
 
 toString ()
 
 toTablecart (&$table)
 
 toXml ($xml, $elementname="CartOrder")
 
- Public Member Functions inherited from WObject
 propertyArray ()
 base for property array More...
 
- Protected Member Functions inherited from WOCartOrderAbstract
 toXmlHelper ($xml, $root)
 
- Protected Member Functions inherited from WObject
 __construct ()
 
 toXmlHelper ($xml, $root)
 base for serialization More...
 
- Static Protected Member Functions inherited from WOCartOrderAbstract
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 WOCartOrderAbstract
 $prop_cartid =null
 
 $prop_comment =null
 
 $prop_couponid =null
 
 $prop_customerid =null
 
 $prop_deliveryaddressid =null
 
 $prop_invoiceaddressid =null
 
 $prop_items
 
 $prop_shippingtypeid =null
 
 $prop_status =null
 
 $prop_tickets
 
 $prop_vouchers
 

Member Function Documentation

Member Data Documentation

const WOCartOrder::AfterSale =-2
const WOCartOrder::LateSale =-1

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