|
eZ Publish
[trunk]
|
The class eZContentObjectTrashNode. More...
Inheritance diagram for eZContentObjectTrashNode:
Collaboration diagram for eZContentObjectTrashNode:Public Member Functions | |
| eZContentObjectTrashNode ($row=array()) | |
| originalParent () | |
| originalParentPathIdentificationString () | |
| storeToTrash () | |
Static Public Member Functions | |
| static | createFromNode ($node) |
| static | definition () |
| Returns the definition for the object, the default implementation is to return an empty array. | |
| static | fetchListForObject ($objectID, $asObject=true, $offset=false, $limit=false) |
| static | purgeForObject ($contentObjectID) |
| static | trashList ($params=false, $asCount=false) |
| static | trashListCount ($params=false) |
Protected Attributes | |
| $originalNodeParent = 0 | |
| $pathArray = 0 | |
The class eZContentObjectTrashNode.
Definition at line 17 of file ezcontentobjecttrashnode.php.
| static eZContentObjectTrashNode::createFromNode | ( | $ | node | ) | [static] |
Definition at line 119 of file ezcontentobjecttrashnode.php.
Referenced by eZContentObjectTreeNode\removeNodeFromTree().
| static eZContentObjectTrashNode::definition | ( | ) | [static] |
Returns the definition for the object, the default implementation is to return an empty array.
It's upto each inheriting class to return a proper definition array.
The definition array is an associative array consists of these keys:
Example: public static 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 eZContentObjectTreeNode.
Definition at line 27 of file ezcontentobjecttrashnode.php.
| eZContentObjectTrashNode::eZContentObjectTrashNode | ( | $ | row = array() | ) |
Constructor
Definition at line 22 of file ezcontentobjecttrashnode.php.
Referenced by createFromNode(), and trashList().
| static eZContentObjectTrashNode::fetchListForObject | ( | $ | objectID, |
| $ | asObject = true, |
||
| $ | offset = false, |
||
| $ | limit = false |
||
| ) | [static] |
Definition at line 172 of file ezcontentobjecttrashnode.php.
Definition at line 296 of file ezcontentobjecttrashnode.php.
Referenced by originalParentPathIdentificationString().
Definition at line 322 of file ezcontentobjecttrashnode.php.
| static eZContentObjectTrashNode::purgeForObject | ( | $ | contentObjectID | ) | [static] |
Definition at line 162 of file ezcontentobjecttrashnode.php.
Referenced by eZContentObject\purge().
Definition at line 142 of file ezcontentobjecttrashnode.php.
| static eZContentObjectTrashNode::trashList | ( | $ | params = false, |
| $ | asCount = false |
||
| ) | [static] |
Definition at line 180 of file ezcontentobjecttrashnode.php.
Referenced by eZContentFunctionCollection\fetchTrashObjectList(), eZScriptTrashPurge\run(), and trashListCount().
| static eZContentObjectTrashNode::trashListCount | ( | $ | params = false | ) | [static] |
Definition at line 291 of file ezcontentobjecttrashnode.php.
Referenced by eZContentFunctionCollection\fetchTrashObjectCount(), and eZScriptTrashPurge\run().
eZContentObjectTrashNode::$originalNodeParent = 0 [protected] |
Definition at line 335 of file ezcontentobjecttrashnode.php.
eZContentObjectTrashNode::$pathArray = 0 [protected] |
Definition at line 336 of file ezcontentobjecttrashnode.php.