Public Member Functions | |
| clear ($node_id) | |
| create ($node_id) | |
| definition () | |
| eZTipafriendCounter ($row) | |
| fetch ($node_id, $asObject=true) | |
| increase () | |
| removeForNode ($node_id) | |
Static Public Member Functions | |
| cleanup () | |
Private Attributes | |
| $Count | |
| $NodeID | |
! eZKernel The class eZTipafriendCounter
Definition at line 40 of file eztipafriendcounter.php.
| eZTipafriendCounter::cleanup | ( | ) | [static] |
Removes all counters for tipafriend functionality.
Definition at line 121 of file eztipafriendcounter.php.
| eZTipafriendCounter::clear | ( | $ | node_id | ) |
Definition at line 93 of file eztipafriendcounter.php.
| eZTipafriendCounter::create | ( | $ | node_id | ) |
Definition at line 69 of file eztipafriendcounter.php.
| eZTipafriendCounter::definition | ( | ) |
The definition array is an associative array consists of these keys:
asc or desc.Example:
function definition() { return array( "fields" => array( "id" => "ID", "version" => "Version", "name" => "Name" ), "keys" => array( "id", "version" ), "function_attributes" => array( "current" => "currentVersion", "class_name" => "className" ), "increment_key" => "id", "class_name" => "eZContentClass", "sort" => array( "id" => "asc" ), "name" => "ezcontentclass" ); }
Reimplemented from eZPersistentObject.
Definition at line 47 of file eztipafriendcounter.php.
Referenced by fetch(), and removeForNode().
| eZTipafriendCounter::eZTipafriendCounter | ( | $ | row | ) |
Definition at line 42 of file eztipafriendcounter.php.
Referenced by create().
| eZTipafriendCounter::fetch | ( | $ | node_id, | |
| $ | asObject = true | |||
| ) |
Definition at line 107 of file eztipafriendcounter.php.
| eZTipafriendCounter::increase | ( | ) |
Definition at line 103 of file eztipafriendcounter.php.
| eZTipafriendCounter::removeForNode | ( | $ | node_id | ) |
Definition at line 81 of file eztipafriendcounter.php.
Referenced by clear(), and eZContentObjectTreeNode::remove().
eZTipafriendCounter::$Count [private] |
Definition at line 129 of file eztipafriendcounter.php.
eZTipafriendCounter::$NodeID [private] |
Definition at line 128 of file eztipafriendcounter.php.
1.6.3