|
eZ Publish
[trunk]
|
! eZKernel The class eZContentClassGroup More...
Inheritance diagram for eZContentClassGroup:
Collaboration diagram for eZContentClassGroup:Public Member Functions | |
| appendClass ($class, $version=false) | |
| creator () | |
| eZContentClassGroup ($row) | |
| modifier () | |
Static Public Member Functions | |
| static | create ($userID=false) |
| static | definition () |
| Returns the definition for the object, the default implementation is to return an empty array. | |
| static | fetch ($id, $user_id=false, $asObject=true) |
| static | fetchByName ($name, $asObject=true) |
| static | fetchList ($user_id=false, $asObject=true) |
| static | removeSelected ($id) |
Public Attributes | |
| $Created | |
| $CreatorID | |
| $ID | |
| $Modified | |
| $ModifierID | |
| $Name | |
! eZKernel The class eZContentClassGroup
Definition at line 17 of file ezcontentclassgroup.php.
| eZContentClassGroup::appendClass | ( | $ | class, |
| $ | version = false |
||
| ) |
Appends the class $class to this group.
| $class | Can either be an eZContentClass object or a class ID. |
Definition at line 150 of file ezcontentclassgroup.php.
| static eZContentClassGroup::create | ( | $ | userID = false | ) | [static] |
Definition at line 65 of file ezcontentclassgroup.php.
Referenced by appendClass(), and eZContentClassPackageHandler\install().
Definition at line 89 of file ezcontentclassgroup.php.
| static eZContentClassGroup::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 eZPersistentObject.
Definition at line 24 of file ezcontentclassgroup.php.
Referenced by fetch(), fetchByName(), fetchList(), and removeSelected().
Definition at line 19 of file ezcontentclassgroup.php.
Referenced by create().
| static eZContentClassGroup::fetch | ( | $ | id, |
| $ | user_id = false, |
||
| $ | asObject = true |
||
| ) | [static] |
Definition at line 123 of file ezcontentclassgroup.php.
Referenced by eZContentClassPackageHandler\classDOMTree(), creator(), and modifier().
| static eZContentClassGroup::fetchByName | ( | $ | name, |
| $ | asObject = true |
||
| ) | [static] |
Fetch Class group by name, and return first result.
| name | |
| asObject |
Definition at line 114 of file ezcontentclassgroup.php.
Referenced by eZContentClassPackageHandler\install().
| static eZContentClassGroup::fetchList | ( | $ | user_id = false, |
| $ | asObject = true |
||
| ) | [static] |
Definition at line 134 of file ezcontentclassgroup.php.
Definition at line 80 of file ezcontentclassgroup.php.
| static eZContentClassGroup::removeSelected | ( | $ | id | ) | [static] |
Definition at line 102 of file ezcontentclassgroup.php.
| eZContentClassGroup::$Created |
Definition at line 173 of file ezcontentclassgroup.php.
| eZContentClassGroup::$CreatorID |
Definition at line 171 of file ezcontentclassgroup.php.
| eZContentClassGroup::$ID |
Definition at line 169 of file ezcontentclassgroup.php.
| eZContentClassGroup::$Modified |
Definition at line 174 of file ezcontentclassgroup.php.
| eZContentClassGroup::$ModifierID |
Definition at line 172 of file ezcontentclassgroup.php.
| eZContentClassGroup::$Name |
Definition at line 170 of file ezcontentclassgroup.php.