eZPublish  4.5
eZProductCategory Class Reference

Handles product categories used by the default VAT handler. More...

+ Inheritance diagram for eZProductCategory:
+ Collaboration diagram for eZProductCategory:

Public Member Functions

 eZProductCategory ($row)
 
- Public Member Functions inherited from eZPersistentObject
 attribute ($attr, $noFunction=false)
 
 attributes ()
 
 eZPersistentObject ($row)
 
 fill ($row)
 
 hasAttribute ($attr)
 
 hasDirtyData ()
 
 remove ($conditions=null, $extraConditions=null)
 
 setAttribute ($attr, $val)
 
 setHasDirtyData ($hasDirtyData)
 
 store ($fieldFilters=null)
 
 sync ($fieldFilters=null)
 

Static Public Member Functions

static create ()
 
static definition ()
 
static fetch ($id, $asObject=true)
 
static fetchByName ($name, $asObject=true)
 
static fetchList ($asObject=true)
 
static fetchProductCountByCategory ($categoryID)
 Returns number of products belonging to the given category. More...
 
static removeByID ($id)
 Remove the given category and all references to it. More...
 
- Static Public Member Functions inherited from eZPersistentObject
static conditionText ($conditions)
 
static conditionTextByRow ($conditions, $row)
 
static count ($def, $conds=null, $field=null)
 
static definition ()
 
static escapeArray ($array)
 
static fetchObject ($def, $field_filters, $conds, $asObject=true, $grouping=null, $custom_fields=null)
 
static fetchObjectList ($def, $field_filters=null, $conds=null, $sorts=null, $limit=null, $asObject=true, $grouping=false, $custom_fields=null, $custom_tables=null, $custom_conds=null)
 
static getShortAttributeName ($db, $def, $attrName)
 
static handleRows ($rows, $class_name, $asObject)
 
static newObjectOrder ($def, $orderField, $conditions)
 
static removeObject ($def, $conditions=null, $extraConditions=null)
 
static reorderObject ($def, $orderField, $conditions, $down=true)
 
static swapRow ($table, $keys, $order_id, $rows, $id1, $id2)
 
static updateObjectList ($parameters)
 

Additional Inherited Members

- Public Attributes inherited from eZPersistentObject
 $PersistentDataDirty
 Whether the data is dirty, ie needs to be stored, or not. More...
 

Detailed Description

Handles product categories used by the default VAT handler.

Member Function Documentation

static eZProductCategory::create ( )
static
static eZProductCategory::definition ( )
static
eZProductCategory::eZProductCategory (   $row)

Referenced by create().

static eZProductCategory::fetchByName (   $name,
  $asObject = true 
)
static
static eZProductCategory::fetchList (   $asObject = true)
static
static eZProductCategory::fetchProductCountByCategory (   $categoryID)
static

Returns number of products belonging to the given category.

static eZProductCategory::removeByID (   $id)
static

Remove the given category and all references to it.


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