eZPublish  4.4
eZTipafriendCounter Class Reference

! eZKernel The class eZTipafriendCounter More...

+ Inheritance diagram for eZTipafriendCounter:
+ Collaboration diagram for eZTipafriendCounter:

Public Member Functions

 clear ($nodeID)
 
 eZTipafriendCounter ($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 cleanup ()
 
static create ($nodeID)
 
static definition ()
 
static fetch ($nodeID, $asObject=true)
 
static removeForNode ($nodeID)
 
- 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 eZTipafriendCounter

Member Function Documentation

static eZTipafriendCounter::cleanup ( )
static

Removes all counters for tipafriend functionality.

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.
eZTipafriendCounter::clear (   $nodeID)
Deprecated:
Use removeForNode instead
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 eZTipafriendCounter::create (   $nodeID)
static
static eZTipafriendCounter::definition ( )
static
eZTipafriendCounter::eZTipafriendCounter (   $row)

Referenced by create().

static eZTipafriendCounter::fetch (   $nodeID,
  $asObject = true 
)
static
eZTipafriendCounter::increase ( )
Deprecated:
, will be removed in future versions of eZP
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 eZTipafriendCounter::removeForNode (   $nodeID)
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 clear(), and eZContentObjectTreeNode\removeThis().

Member Data Documentation

eZTipafriendCounter::$Count
eZTipafriendCounter::$NodeID

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