eZPublish  4.5
eZViewCounter Class Reference

! eZKernel The class eZViewCounter More...

+ Inheritance diagram for eZViewCounter:
+ Collaboration diagram for eZViewCounter:

Public Member Functions

 eZViewCounter ($row)
 
 increase ()
 
- 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 clear ($node_id)
 
static create ($node_id)
 
static definition ()
 
static fetch ($node_id, $asObject=true)
 
static fetchTopList ($classID=false, $sectionID=false, $offset=false, $limit=false)
 
static removeCounter ($node_id)
 
- 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)
 

Public Attributes

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

Detailed Description

! eZKernel The class eZViewCounter

Member Function Documentation

static eZViewCounter::clear (   $node_id)
static
Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.
static eZViewCounter::create (   $node_id)
static
static eZViewCounter::definition ( )
static

Referenced by fetch(), fetchTopList(), and removeCounter().

eZViewCounter::eZViewCounter (   $row)

Referenced by create().

static eZViewCounter::fetch (   $node_id,
  $asObject = true 
)
static
static eZViewCounter::fetchTopList (   $classID = false,
  $sectionID = false,
  $offset = false,
  $limit = false 
)
static
eZViewCounter::increase ( )
Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.
static eZViewCounter::removeCounter (   $node_id)
static
Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Referenced by eZContentObjectTreeNode\removeThis().

Member Data Documentation

eZViewCounter::$Count
eZViewCounter::$NodeID

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