|
eZ Publish
[4.2]
|
The class eZEnumObjectValue stores chosen enum values of an object attribute. More...
Inheritance diagram for eZEnumObjectValue:
Collaboration diagram for eZEnumObjectValue:Public Member Functions | |
| eZEnumObjectValue ($row) | |
| removeByOAID ($contentObjectAttributeID, $contentObjectAttributeVersion, $enumid) | |
Static Public Member Functions | |
| static | create ($contentObjectAttributeID, $contentObjectAttributeVersion, $enumID, $enumElement, $enumValue) |
| static | definition () |
| static | fetch ($contentObjectAttributeID, $contentObjectAttributeVersion, $enumid, $asObject=true) |
| static | fetchAllElements ($contentObjectAttributeID, $contentObjectAttributeVersion, $asObject=true) |
| static | removeAllElements ($contentObjectAttributeID, $contentObjectAttributeVersion) |
Public Attributes | |
| $ContentObjectAttributeID | |
| $ContentObjectAttributeVersion | |
| $EnumElement | |
| $EnumID | |
| $EnumValue | |
The class eZEnumObjectValue stores chosen enum values of an object attribute.
Definition at line 40 of file ezenumobjectvalue.php.
| static eZEnumObjectValue::create | ( | $ | contentObjectAttributeID, |
| $ | contentObjectAttributeVersion, | ||
| $ | enumID, | ||
| $ | enumElement, | ||
| $ | enumValue | ||
| ) | [static] |
Definition at line 82 of file ezenumobjectvalue.php.
Referenced by eZEnum\storeObjectEnumeration().
| static eZEnumObjectValue::definition | ( | ) | [static] |
The definition array is an associative array consists of these keys:
asc or desc.Example:
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 50 of file ezenumobjectvalue.php.
Referenced by fetch(), fetchAllElements(), removeAllElements(), and removeByOAID().
| eZEnumObjectValue::eZEnumObjectValue | ( | $ | row | ) |
| static eZEnumObjectValue::fetch | ( | $ | contentObjectAttributeID, |
| $ | contentObjectAttributeVersion, | ||
| $ | enumid, | ||
| $ | asObject = true |
||
| ) | [static] |
Definition at line 115 of file ezenumobjectvalue.php.
| static eZEnumObjectValue::fetchAllElements | ( | $ | contentObjectAttributeID, |
| $ | contentObjectAttributeVersion, | ||
| $ | asObject = true |
||
| ) | [static] |
Definition at line 125 of file ezenumobjectvalue.php.
Referenced by eZEnumType\initializeObjectAttribute(), eZEnumType\serializeContentObjectAttribute(), and eZEnum\setObjectEnumValue().
| static eZEnumObjectValue::removeAllElements | ( | $ | contentObjectAttributeID, |
| $ | contentObjectAttributeVersion | ||
| ) | [static] |
Definition at line 92 of file ezenumobjectvalue.php.
Referenced by eZEnumType\deleteStoredObjectAttribute(), and eZEnum\removeObjectEnumerations().
| eZEnumObjectValue::removeByOAID | ( | $ | contentObjectAttributeID, |
| $ | contentObjectAttributeVersion, | ||
| $ | enumid | ||
| ) |
Definition at line 107 of file ezenumobjectvalue.php.
| eZEnumObjectValue::$ContentObjectAttributeID |
Definition at line 136 of file ezenumobjectvalue.php.
| eZEnumObjectValue::$ContentObjectAttributeVersion |
Definition at line 137 of file ezenumobjectvalue.php.
| eZEnumObjectValue::$EnumElement |
Definition at line 139 of file ezenumobjectvalue.php.
| eZEnumObjectValue::$EnumID |
Definition at line 138 of file ezenumobjectvalue.php.
| eZEnumObjectValue::$EnumValue |
Definition at line 140 of file ezenumobjectvalue.php.