MagicSmoke  $VERSION$
WOPriceCategory Class Reference
Inheritance diagram for WOPriceCategory:
WOPriceCategoryAbstract WObject

Static Public Member Functions

static changeCategory ($trans)
 called from ChangePriceCategory transaction More...
 
static createCategory ($trans)
 called from CreatePriceCategory transaction More...
 
- Static Public Member Functions inherited from WOPriceCategoryAbstract
static fromString ($txt)
 
static fromTableArraypricecategory (array $table)
 
static fromTablepricecategory ($table)
 
static fromXml ($xml, $elem)
 
static validateabbreviation ($value)
 
static validatecanuse ($value)
 
static validateflags ($value)
 
static validateformula ($value)
 
static validatename ($value)
 
static validatepricecategoryid ($value)
 
static validatetags ($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 WOPriceCategoryAbstract
 __construct ()
 
 getabbreviation ()
 
 getcanuse ()
 
 getflags ()
 
 getformula ()
 
 getname ()
 
 getpricecategoryid ()
 
 getstr_abbreviation ()
 
 getstr_canuse ()
 
 getstr_flags ()
 
 getstr_formula ()
 
 getstr_name ()
 
 getstr_pricecategoryid ()
 
 getstr_tags ()
 
 gettags ()
 
 propertyArray ()
 
 setabbreviation ($value)
 
 setcanuse ($value)
 
 setflags ($value)
 
 setformula ($value)
 
 setname ($value)
 
 setpricecategoryid ($value)
 
 settags ($value)
 
 toString ()
 
 toTablepricecategory (&$table)
 
 toXml ($xml, $elementname="PriceCategory")
 
- Public Member Functions inherited from WObject
 propertyArray ()
 base for property array More...
 
- Protected Member Functions inherited from WOPriceCategoryAbstract
 toXmlHelper ($xml, $root)
 
- Protected Member Functions inherited from WObject
 __construct ()
 
 toXmlHelper ($xml, $root)
 base for serialization More...
 
- Static Protected Member Functions inherited from WOPriceCategoryAbstract
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 WOPriceCategoryAbstract
 $prop_abbreviation =null
 
 $prop_canuse =null
 
 $prop_flags =null
 
 $prop_formula =null
 
 $prop_name =null
 
 $prop_pricecategoryid =null
 
 $prop_tags =null
 

Member Function Documentation

static WOPriceCategory::changeCategory (   $trans)
static

called from ChangePriceCategory transaction

References WOPriceCategoryAbstract\fromTablepricecategory(), WTpricecategory\getFromDB(), and tr().

Referenced by WTrChangePriceCategory\handleRequest().

static WOPriceCategory::createCategory (   $trans)
static

called from CreatePriceCategory transaction

References WOPriceCategoryAbstract\fromTablepricecategory(), WTpricecategory\newRow(), and tr().

Referenced by WTrCreatePriceCategory\handleRequest().


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