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

Public Member Functions

 __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...
 

Static Public Member Functions

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 Invalid =1
 
const Ok =0
 

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_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
 

Constructor & Destructor Documentation

WOCartOrderAbstract::__construct ( )

Member Function Documentation

WOCartOrderAbstract::add_items (   $value)
WOCartOrderAbstract::add_tickets (   $value)
WOCartOrderAbstract::add_vouchers (   $value)
WOCartOrderAbstract::clear_items ( )
WOCartOrderAbstract::clear_tickets ( )
WOCartOrderAbstract::clear_vouchers ( )
static WOCartOrderAbstract::fromString (   $txt)
static

References translate().

static WOCartOrderAbstract::fromTableArraycart ( array  $table)
static

References $i.

static WOCartOrderAbstract::fromXml (   $xml,
  $elem 
)
static
static WOCartOrderAbstract::fromXmlHelper (   $data,
  $xml,
  $elem 
)
staticprotected
WOCartOrderAbstract::getcartid ( )

References $prop_cartid.

Referenced by toXmlHelper().

WOCartOrderAbstract::getcomment ( )

References $prop_comment.

Referenced by toXmlHelper().

WOCartOrderAbstract::getcouponid ( )

References $prop_couponid.

Referenced by toXmlHelper().

WOCartOrderAbstract::getcustomerid ( )

References $prop_customerid.

Referenced by toXmlHelper().

WOCartOrderAbstract::getdeliveryaddressid ( )

References $prop_deliveryaddressid.

Referenced by toXmlHelper().

WOCartOrderAbstract::getinvoiceaddressid ( )

References $prop_invoiceaddressid.

Referenced by toXmlHelper().

WOCartOrderAbstract::getitems ( )

References $prop_items.

Referenced by toXmlHelper().

WOCartOrderAbstract::getshippingtypeid ( )

References $prop_shippingtypeid.

Referenced by toXmlHelper().

WOCartOrderAbstract::getstatus ( )

References $prop_status.

Referenced by toXmlHelper().

WOCartOrderAbstract::getstr_cartid ( )

Referenced by toXmlHelper().

WOCartOrderAbstract::getstr_comment ( )

References $prop_comment.

Referenced by toXmlHelper().

WOCartOrderAbstract::getstr_couponid ( )

References $prop_couponid.

Referenced by toXmlHelper().

WOCartOrderAbstract::getstr_customerid ( )

Referenced by toXmlHelper().

WOCartOrderAbstract::getstr_deliveryaddressid ( )

Referenced by toXmlHelper().

WOCartOrderAbstract::getstr_invoiceaddressid ( )

Referenced by toXmlHelper().

WOCartOrderAbstract::getstr_shippingtypeid ( )

Referenced by toXmlHelper().

WOCartOrderAbstract::getstr_status ( )

References translate().

Referenced by toXmlHelper().

WOCartOrderAbstract::gettickets ( )

References $prop_tickets.

Referenced by toXmlHelper().

WOCartOrderAbstract::getvouchers ( )

References $prop_vouchers.

Referenced by toXmlHelper().

WOCartOrderAbstract::propertyArray ( )
WOCartOrderAbstract::setcartid (   $value)
WOCartOrderAbstract::setcomment (   $value)
WOCartOrderAbstract::setcouponid (   $value)
WOCartOrderAbstract::setcustomerid (   $value)
WOCartOrderAbstract::setdeliveryaddressid (   $value)
WOCartOrderAbstract::setinvoiceaddressid (   $value)
WOCartOrderAbstract::setitems ( array  $values)
WOCartOrderAbstract::setshippingtypeid (   $value)
WOCartOrderAbstract::setstatus (   $value)
WOCartOrderAbstract::settickets ( array  $values)
WOCartOrderAbstract::setvouchers ( array  $values)
WOCartOrderAbstract::toString ( )

References toXml().

WOCartOrderAbstract::toTablecart ( $table)
WOCartOrderAbstract::toXml (   $xml,
  $elementname = "CartOrder" 
)

References toXmlHelper().

Referenced by toString().

static WOCartOrderAbstract::validatecartid (   $value)
static
static WOCartOrderAbstract::validatecomment (   $value)
static
static WOCartOrderAbstract::validatecouponid (   $value)
static
static WOCartOrderAbstract::validatecustomerid (   $value)
static
static WOCartOrderAbstract::validatedeliveryaddressid (   $value)
static
static WOCartOrderAbstract::validateinvoiceaddressid (   $value)
static
static WOCartOrderAbstract::validateitems (   $value)
static
static WOCartOrderAbstract::validateshippingtypeid (   $value)
static
static WOCartOrderAbstract::validatestatus (   $value)
static
static WOCartOrderAbstract::validatetickets (   $value)
static
static WOCartOrderAbstract::validatevouchers (   $value)
static

Member Data Documentation

WOCartOrderAbstract::$prop_cartid =null
protected

Referenced by getcartid().

WOCartOrderAbstract::$prop_comment =null
protected
WOCartOrderAbstract::$prop_couponid =null
protected
WOCartOrderAbstract::$prop_customerid =null
protected

Referenced by getcustomerid(), and toTablecart().

WOCartOrderAbstract::$prop_deliveryaddressid =null
protected
WOCartOrderAbstract::$prop_invoiceaddressid =null
protected

Referenced by getinvoiceaddressid(), and toTablecart().

WOCartOrderAbstract::$prop_items
protected

Referenced by getitems().

WOCartOrderAbstract::$prop_shippingtypeid =null
protected

Referenced by getshippingtypeid(), and toTablecart().

WOCartOrderAbstract::$prop_status =null
protected

Referenced by getstatus().

WOCartOrderAbstract::$prop_tickets
protected

Referenced by gettickets().

WOCartOrderAbstract::$prop_vouchers
protected

Referenced by getvouchers().

const WOCartOrderAbstract::Invalid =1

Referenced by WOCartOrder\createOrder().

const WOCartOrderAbstract::Ok =0

Referenced by WOCartOrder\createOrder().


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