eZPublish  3.9
eZProductCategory Class Reference

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

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

Public Member Functions

 create ()
 
 definition ()
 
 eZProductCategory ($row)
 
 fetch ($id, $asObject=true)
 
 fetchByName ($name, $asObject=true)
 
 fetchList ($asObject=true)
 
- Public Member Functions inherited from eZPersistentObject
attribute ($attr, $noFunction=false)
 
 attributes ()
 
 conditionText (&$conditions)
 
conditionTextByRow (&$conditions, &$row)
 
 definition ()
 
escapeArray (&$array)
 
 eZPersistentObject ($row)
 
 fetchObject (&$def, $field_filters, $conds, $asObject=true, $grouping=null, $custom_fields=null)
 
 fetchObjectList (&$def, $field_filters=null, $conds=null, $sorts=null, $limit=null, $asObject=true, $grouping=false, $custom_fields=null, $custom_tables=null, $custom_conds=null)
 
 fill (&$row)
 
 getShortAttributeName (&$db, &$def, $attrName)
 
 handleRows (&$rows, $class_name, $asObject)
 
 hasAttribute ($attr)
 
 hasDirtyData ()
 
 newObjectOrder (&$def, $orderField, $conditions)
 
 remove ($conditions=null, $extraConditions=null)
 
 removeObject (&$def, $conditions=null, $extraConditions=null)
 
 reorderObject (&$def, $orderField, $conditions, $down=true)
 
 setAttribute ($attr, $val)
 
 setHasDirtyData ($hasDirtyData)
 
 store ($fieldFilters=null)
 
 swapRow ($table, &$keys, &$order_id, &$rows, $id1, $id2)
 
 sync ($fieldFilters=null)
 
 updateObjectList ($parameters)
 

Static Public Member Functions

 fetchProductCountByCategory ($categoryID)
 Returns number of products belonging to the given category. More...
 
 remove ($id)
 Remove the given category and all references to it. More...
 

Detailed Description

Handles product categories used by the default VAT handler.

Member Function Documentation

eZProductCategory::create ( )
eZProductCategory::definition ( )

Referenced by fetch(), fetchByName(), fetchList(), and remove().

eZProductCategory::eZProductCategory (   $row)

Referenced by create().

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

Returns number of products belonging to the given category.

eZProductCategory::remove (   $id)
static

Remove the given category and all references to it.


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