MagicSmoke  $VERSION$
WOOrderAbstract Class Reference
Inheritance diagram for WOOrderAbstract:
WObject WOOrder

Public Member Functions

 __construct ()
 
 add_items ($value)
 
 add_tickets ($value)
 
 add_vouchers ($value)
 
 clear_items ()
 
 clear_tickets ()
 
 clear_vouchers ()
 
 getamountdue ()
 
 getamountpaid ()
 
 getcomments ()
 
 getcoupondescription ()
 
 getcouponid ()
 
 getcustomer ()
 
 getcustomerid ()
 
 getdeliveryaddress ()
 
 getdeliveryaddressid ()
 
 getinvoiceaddress ()
 
 getinvoiceaddressid ()
 
 getitems ()
 
 getorderid ()
 
 getordertime ()
 
 getsenttime ()
 
 getshippingcosts ()
 
 getshippingtype ()
 
 getshippingtypeid ()
 
 getsoldby ()
 
 getstatus ()
 
 getstr_amountdue ()
 
 getstr_amountpaid ()
 
 getstr_comments ()
 
 getstr_coupondescription ()
 
 getstr_couponid ()
 
 getstr_customerid ()
 
 getstr_deliveryaddressid ()
 
 getstr_invoiceaddressid ()
 
 getstr_orderid ()
 
 getstr_ordertime ()
 
 getstr_senttime ()
 
 getstr_shippingcosts ()
 
 getstr_shippingtypeid ()
 
 getstr_soldby ()
 
 getstr_status ()
 
 getstr_tags ()
 
 getstr_totalprice ()
 
 gettags ()
 
 gettickets ()
 
 gettotalprice ()
 
 getvouchers ()
 
 propertyArray ()
 
 setamountdue ($value)
 
 setamountpaid ($value)
 
 setcomments ($value)
 
 setcoupondescription ($value)
 
 setcouponid ($value)
 
 setcustomer ($value)
 
 setcustomerid ($value)
 
 setdeliveryaddress ($value)
 
 setdeliveryaddressid ($value)
 
 setinvoiceaddress ($value)
 
 setinvoiceaddressid ($value)
 
 setitems (array $values)
 
 setorderid ($value)
 
 setordertime ($value)
 
 setsenttime ($value)
 
 setshippingcosts ($value)
 
 setshippingtype ($value)
 
 setshippingtypeid ($value)
 
 setsoldby ($value)
 
 setstatus ($value)
 
 settags ($value)
 
 settickets (array $values)
 
 settotalprice ($value)
 
 setvouchers (array $values)
 
 toString ()
 
 toTableorder (&$table)
 
 toXml ($xml, $elementname="Order")
 
- Public Member Functions inherited from WObject
 propertyArray ()
 base for property array More...
 

Static Public Member Functions

static fromString ($txt)
 
static fromTableArrayorder (array $table)
 
static fromTableorder ($table)
 
static fromXml ($xml, $elem)
 
static validateamountdue ($value)
 
static validateamountpaid ($value)
 
static validatecomments ($value)
 
static validatecoupondescription ($value)
 
static validatecouponid ($value)
 
static validatecustomer ($value)
 
static validatecustomerid ($value)
 
static validatedeliveryaddress ($value)
 
static validatedeliveryaddressid ($value)
 
static validateinvoiceaddress ($value)
 
static validateinvoiceaddressid ($value)
 
static validateitems ($value)
 
static validateorderid ($value)
 
static validateordertime ($value)
 
static validatesenttime ($value)
 
static validateshippingcosts ($value)
 
static validateshippingtype ($value)
 
static validateshippingtypeid ($value)
 
static validatesoldby ($value)
 
static validatestatus ($value)
 
static validatetags ($value)
 
static validatetickets ($value)
 
static validatetotalprice ($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 Cancelled =2
 
const Closed =128
 
const Placed =0
 
const Reserved =4
 
const Sent =1
 
const Sold =1
 

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_amountdue =null
 
 $prop_amountpaid =null
 
 $prop_comments =null
 
 $prop_coupondescription =null
 
 $prop_couponid =null
 
 $prop_customer =null
 
 $prop_customerid =null
 
 $prop_deliveryaddress =null
 
 $prop_deliveryaddressid =null
 
 $prop_invoiceaddress =null
 
 $prop_invoiceaddressid =null
 
 $prop_items
 
 $prop_orderid =null
 
 $prop_ordertime =null
 
 $prop_senttime =null
 
 $prop_shippingcosts =null
 
 $prop_shippingtype =null
 
 $prop_shippingtypeid =null
 
 $prop_soldby =null
 
 $prop_status =null
 
 $prop_tags =null
 
 $prop_tickets
 
 $prop_totalprice =null
 
 $prop_vouchers
 

Constructor & Destructor Documentation

WOOrderAbstract::__construct ( )

Member Function Documentation

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

References translate().

static WOOrderAbstract::fromTableArrayorder ( array  $table)
static

References $i.

Referenced by WOEvent\getSummary().

static WOOrderAbstract::fromXml (   $xml,
  $elem 
)
static
static WOOrderAbstract::fromXmlHelper (   $data,
  $xml,
  $elem 
)
staticprotected
WOOrderAbstract::getamountdue ( )

References $prop_amountdue.

Referenced by toXmlHelper().

WOOrderAbstract::getamountpaid ( )

References $prop_amountpaid.

Referenced by toXmlHelper().

WOOrderAbstract::getcomments ( )

References $prop_comments.

Referenced by toXmlHelper().

WOOrderAbstract::getcoupondescription ( )

References $prop_coupondescription.

Referenced by toXmlHelper().

WOOrderAbstract::getcouponid ( )

References $prop_couponid.

Referenced by toXmlHelper().

WOOrderAbstract::getcustomer ( )

References $prop_customer.

Referenced by toXmlHelper().

WOOrderAbstract::getcustomerid ( )

References $prop_customerid.

Referenced by WOOrder\mailDetails(), and toXmlHelper().

WOOrderAbstract::getdeliveryaddress ( )

References $prop_deliveryaddress.

Referenced by toXmlHelper().

WOOrderAbstract::getdeliveryaddressid ( )

References $prop_deliveryaddressid.

Referenced by toXmlHelper().

WOOrderAbstract::getinvoiceaddress ( )

References $prop_invoiceaddress.

Referenced by toXmlHelper().

WOOrderAbstract::getinvoiceaddressid ( )

References $prop_invoiceaddressid.

Referenced by toXmlHelper().

WOOrderAbstract::getitems ( )

References $prop_items.

Referenced by toXmlHelper().

WOOrderAbstract::getorderid ( )

References $prop_orderid.

Referenced by toXmlHelper().

WOOrderAbstract::getordertime ( )

References $prop_ordertime.

Referenced by toXmlHelper().

WOOrderAbstract::getsenttime ( )

References $prop_senttime.

Referenced by toXmlHelper().

WOOrderAbstract::getshippingcosts ( )

References $prop_shippingcosts.

Referenced by toXmlHelper().

WOOrderAbstract::getshippingtype ( )

References $prop_shippingtype.

Referenced by toXmlHelper().

WOOrderAbstract::getshippingtypeid ( )

References $prop_shippingtypeid.

Referenced by toXmlHelper().

WOOrderAbstract::getsoldby ( )

References $prop_soldby.

Referenced by toXmlHelper().

WOOrderAbstract::getstatus ( )

References $prop_status.

Referenced by toXmlHelper().

WOOrderAbstract::getstr_amountdue ( )

Referenced by toXmlHelper().

WOOrderAbstract::getstr_amountpaid ( )

Referenced by toXmlHelper().

WOOrderAbstract::getstr_comments ( )

References $prop_comments.

Referenced by toXmlHelper().

WOOrderAbstract::getstr_coupondescription ( )

References $prop_coupondescription.

Referenced by toXmlHelper().

WOOrderAbstract::getstr_couponid ( )

References $prop_couponid.

Referenced by toXmlHelper().

WOOrderAbstract::getstr_customerid ( )

Referenced by toXmlHelper().

WOOrderAbstract::getstr_deliveryaddressid ( )

Referenced by toXmlHelper().

WOOrderAbstract::getstr_invoiceaddressid ( )

Referenced by toXmlHelper().

WOOrderAbstract::getstr_orderid ( )

Referenced by toXmlHelper().

WOOrderAbstract::getstr_ordertime ( )

Referenced by toXmlHelper().

WOOrderAbstract::getstr_senttime ( )

Referenced by toXmlHelper().

WOOrderAbstract::getstr_shippingcosts ( )

Referenced by toXmlHelper().

WOOrderAbstract::getstr_shippingtypeid ( )

Referenced by toXmlHelper().

WOOrderAbstract::getstr_soldby ( )

References $prop_soldby.

Referenced by toXmlHelper().

WOOrderAbstract::getstr_status ( )

References translate().

Referenced by toXmlHelper().

WOOrderAbstract::getstr_tags ( )

References $prop_tags.

Referenced by toXmlHelper().

WOOrderAbstract::getstr_totalprice ( )

Referenced by toXmlHelper().

WOOrderAbstract::gettags ( )

References $prop_tags.

Referenced by toXmlHelper().

WOOrderAbstract::gettickets ( )

References $prop_tickets.

Referenced by toXmlHelper().

WOOrderAbstract::gettotalprice ( )

References $prop_totalprice.

Referenced by toXmlHelper().

WOOrderAbstract::getvouchers ( )

References $prop_vouchers.

Referenced by toXmlHelper().

WOOrderAbstract::propertyArray ( )
WOOrderAbstract::setamountdue (   $value)
WOOrderAbstract::setamountpaid (   $value)
WOOrderAbstract::setcomments (   $value)
WOOrderAbstract::setcoupondescription (   $value)
WOOrderAbstract::setcouponid (   $value)
WOOrderAbstract::setcustomer (   $value)
WOOrderAbstract::setcustomerid (   $value)
WOOrderAbstract::setdeliveryaddress (   $value)
WOOrderAbstract::setdeliveryaddressid (   $value)
WOOrderAbstract::setinvoiceaddress (   $value)
WOOrderAbstract::setinvoiceaddressid (   $value)
WOOrderAbstract::setitems ( array  $values)
WOOrderAbstract::setorderid (   $value)
WOOrderAbstract::setordertime (   $value)
WOOrderAbstract::setsenttime (   $value)
WOOrderAbstract::setshippingcosts (   $value)
WOOrderAbstract::setshippingtype (   $value)
WOOrderAbstract::setshippingtypeid (   $value)
WOOrderAbstract::setsoldby (   $value)
WOOrderAbstract::setstatus (   $value)
WOOrderAbstract::settags (   $value)
WOOrderAbstract::settickets ( array  $values)
WOOrderAbstract::settotalprice (   $value)
WOOrderAbstract::setvouchers ( array  $values)
WOOrderAbstract::toString ( )

References toXml().

WOOrderAbstract::toXml (   $xml,
  $elementname = "Order" 
)

References toXmlHelper().

Referenced by toString().

static WOOrderAbstract::validateamountdue (   $value)
static
static WOOrderAbstract::validateamountpaid (   $value)
static
static WOOrderAbstract::validatecomments (   $value)
static
static WOOrderAbstract::validatecoupondescription (   $value)
static
static WOOrderAbstract::validatecouponid (   $value)
static
static WOOrderAbstract::validatecustomer (   $value)
static
static WOOrderAbstract::validatecustomerid (   $value)
static
static WOOrderAbstract::validatedeliveryaddress (   $value)
static
static WOOrderAbstract::validatedeliveryaddressid (   $value)
static
static WOOrderAbstract::validateinvoiceaddress (   $value)
static
static WOOrderAbstract::validateinvoiceaddressid (   $value)
static
static WOOrderAbstract::validateitems (   $value)
static
static WOOrderAbstract::validateorderid (   $value)
static
static WOOrderAbstract::validateordertime (   $value)
static
static WOOrderAbstract::validatesenttime (   $value)
static
static WOOrderAbstract::validateshippingcosts (   $value)
static
static WOOrderAbstract::validateshippingtype (   $value)
static
static WOOrderAbstract::validateshippingtypeid (   $value)
static
static WOOrderAbstract::validatesoldby (   $value)
static
static WOOrderAbstract::validatestatus (   $value)
static
static WOOrderAbstract::validatetags (   $value)
static
static WOOrderAbstract::validatetickets (   $value)
static
static WOOrderAbstract::validatetotalprice (   $value)
static
static WOOrderAbstract::validatevouchers (   $value)
static

Member Data Documentation

WOOrderAbstract::$prop_amountdue =null
protected

Referenced by getamountdue().

WOOrderAbstract::$prop_amountpaid =null
protected
WOOrderAbstract::$prop_comments =null
protected
WOOrderAbstract::$prop_coupondescription =null
protected
WOOrderAbstract::$prop_couponid =null
protected
WOOrderAbstract::$prop_customer =null
protected

Referenced by getcustomer().

WOOrderAbstract::$prop_customerid =null
protected

Referenced by getcustomerid(), and toTableorder().

WOOrderAbstract::$prop_deliveryaddress =null
protected

Referenced by getdeliveryaddress().

WOOrderAbstract::$prop_deliveryaddressid =null
protected
WOOrderAbstract::$prop_invoiceaddress =null
protected

Referenced by getinvoiceaddress().

WOOrderAbstract::$prop_invoiceaddressid =null
protected
WOOrderAbstract::$prop_items
protected

Referenced by getitems().

WOOrderAbstract::$prop_orderid =null
protected

Referenced by getorderid(), and toTableorder().

WOOrderAbstract::$prop_ordertime =null
protected

Referenced by getordertime(), and toTableorder().

WOOrderAbstract::$prop_senttime =null
protected

Referenced by getsenttime(), and toTableorder().

WOOrderAbstract::$prop_shippingcosts =null
protected
WOOrderAbstract::$prop_shippingtype =null
protected

Referenced by getshippingtype().

WOOrderAbstract::$prop_shippingtypeid =null
protected

Referenced by getshippingtypeid(), and toTableorder().

WOOrderAbstract::$prop_soldby =null
protected
WOOrderAbstract::$prop_status =null
protected

Referenced by getstatus(), and toTableorder().

WOOrderAbstract::$prop_tags =null
protected

Referenced by getstr_tags(), gettags(), and toTableorder().

WOOrderAbstract::$prop_tickets
protected

Referenced by gettickets().

WOOrderAbstract::$prop_totalprice =null
protected

Referenced by gettotalprice().

WOOrderAbstract::$prop_vouchers
protected

Referenced by getvouchers().

const WOOrderAbstract::Cancelled =2
const WOOrderAbstract::Closed =128
const WOOrderAbstract::Placed =0
const WOOrderAbstract::Reserved =4
const WOOrderAbstract::Sent =1
const WOOrderAbstract::Sold =1

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