|
eZ Publish
[trunk]
|
Inheritance diagram for eZContentClassName:
Collaboration diagram for eZContentClassName:Public Member Functions | |
| eZContentClassName ($row) | |
Static Public Member Functions | |
| static | definition () |
| Returns the definition for the object, the default implementation is to return an empty array. | |
| static | fetchList ($classID, $classVersion, $languageLocaleList, $asObjects=true, $fields=null, $sorts=null, $limit=null) |
| static | removeClassName ($contentClassID, $contentClassVersion) |
| static | sqlAppendFilter ($languageTable= 'ezcontentclass') |
| static | sqlEmptyFilter () |
| static | sqlFilter ($languageTable= 'ezcontentclass') |
Definition at line 11 of file ezcontentclassname.php.
| static eZContentClassName::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 18 of file ezcontentclassname.php.
Referenced by fetchList(), sqlAppendFilter(), and sqlFilter().
Definition at line 13 of file ezcontentclassname.php.
| static eZContentClassName::fetchList | ( | $ | classID, |
| $ | classVersion, | ||
| $ | languageLocaleList, | ||
| $ | asObjects = true, |
||
| $ | fields = null, |
||
| $ | sorts = null, |
||
| $ | limit = null |
||
| ) | [static] |
Definition at line 55 of file ezcontentclassname.php.
Referenced by eZContentClassNameList\store().
| static eZContentClassName::removeClassName | ( | $ | contentClassID, |
| $ | contentClassVersion | ||
| ) | [static] |
Definition at line 122 of file ezcontentclassname.php.
Referenced by eZContentClassNameList\remove().
| static eZContentClassName::sqlAppendFilter | ( | $ | languageTable = 'ezcontentclass' | ) | [static] |
The same as 'sqlFilter' but adds symbol ',' to 'nameField' and 'from' parts
Definition at line 97 of file ezcontentclassname.php.
Referenced by eZContentClassClassGroup\fetchClassList().
| static eZContentClassName::sqlEmptyFilter | ( | ) | [static] |
The same as 'sqlFilter' but all fields are empty
Definition at line 114 of file ezcontentclassname.php.
Referenced by eZContentClassClassGroup\fetchClassList().
| static eZContentClassName::sqlFilter | ( | $ | languageTable = 'ezcontentclass' | ) | [static] |
| languageTable | Name of the table containing the attribute with bitmaps, e.g. ezcontentclass |
| languageListTable | Name of the table containing the attribute with language id. |
Definition at line 80 of file ezcontentclassname.php.
Referenced by eZSearchEngine\buildSortSQL(), eZContentObject\canCreateClassList(), eZContentObjectTreeNode\canCreateClassList(), eZContentClass\canInstantiateClassList(), eZContentObjectTreeNode\createAttributeFilterSQLStrings(), eZContentObjectTreeNode\createSortingSQLStrings(), eZContentClass\fetchAllClasses(), eZClassFunctionCollection\fetchClassListByGroups(), and eZContentClass\fetchList().