|
eZ Publish
[4.2]
|
Inheritance diagram for eZEnumType:
Collaboration diagram for eZEnumType:Public Member Functions | |
| classAttributeContent ($contentClassAttribute) | |
| cloneClassAttribute ($oldClassAttribute, $newClassAttribute) | |
| customClassAttributeHTTPAction ($http, $action, $contentClassAttribute) | |
| deleteStoredClassAttribute ($contentClassAttribute, $version=null) | |
| deleteStoredObjectAttribute ($contentObjectAttribute, $version=null) | |
| diff ($old, $new, $options=false) | |
| eZEnumType () | |
| fetchClassAttributeHTTPInput ($http, $base, $contentClassAttribute) | |
| fetchObjectAttributeHTTPInput ($http, $base, $contentObjectAttribute) | |
| hasObjectAttributeContent ($contentObjectAttribute) | |
| initializeClassAttribute ($classAttribute) | |
| initializeObjectAttribute ($contentObjectAttribute, $currentVersion, $originalContentObjectAttribute) | |
| isIndexable () | |
| metaData ($contentObjectAttribute) | |
| objectAttributeContent ($contentObjectAttribute) | |
| objectDisplayInformation ($objectAttribute, $mergeInfo=false) | |
| serializeContentClassAttribute ($classAttribute, $attributeNode, $attributeParametersNode) | |
| serializeContentObjectAttribute ($package, $contentObjectAttribute) | |
| storeClassAttribute ($contentClassAttribute, $version) | |
| storeDefinedClassAttribute ($contentClassAttribute) | |
| storeObjectAttribute ($contentObjectAttribute) | |
| title ($contentObjectAttribute, $name=null) | |
| unserializeContentClassAttribute ($classAttribute, $attributeNode, $attributeParametersNode) | |
| unserializeContentObjectAttribute ($package, $objectAttribute, $attributeNode) | |
| validateClassAttributeHTTPInput ($http, $base, $contentClassAttribute) | |
| validateObjectAttributeHTTPInput ($http, $base, $contentObjectAttribute) | |
Public Attributes | |
| const | DATA_TYPE_STRING = 'ezenum' |
| const | IS_MULTIPLE_FIELD = 'data_int1' |
| const | IS_MULTIPLE_VARIABLE = '_ezenum_ismultiple_value_' |
| const | IS_OPTION_FIELD = 'data_int2' |
| const | IS_OPTION_VARIABLE = '_ezenum_isoption_value_' |
Definition at line 41 of file ezenumtype.php.
| eZEnumType::classAttributeContent | ( | $ | contentClassAttribute | ) |
| eZEnumType::cloneClassAttribute | ( | $ | oldClassAttribute, |
| $ | newClassAttribute | ||
| ) |
Clones the date from the old class attribute to the new one.
Reimplemented from eZDataType.
Definition at line 90 of file ezenumtype.php.
| eZEnumType::customClassAttributeHTTPAction | ( | $ | http, |
| $ | action, | ||
| $ | classAttribute | ||
| ) |
Executes a custom action for a class attribute which was defined on the web page.
Reimplemented from eZDataType.
Definition at line 320 of file ezenumtype.php.
| eZEnumType::deleteStoredClassAttribute | ( | $ | contentClassAttribute, |
| $ | version = null |
||
| ) |
Delete stored class attribute
Reimplemented from eZDataType.
Definition at line 144 of file ezenumtype.php.
| eZEnumType::deleteStoredObjectAttribute | ( | $ | contentObjectAttribute, |
| $ | version = null |
||
| ) |
Delete stored object attribute
Reimplemented from eZDataType.
Definition at line 134 of file ezenumtype.php.
Referenced by initializeObjectAttribute().
| eZEnumType::diff | ( | $ | old, |
| $ | new, | ||
| $ | options = false |
||
| ) |
Method used by content diff system to retrieve changes in attributes. This method implements the default behaviour, which is to show old and new version values of the object.
Reimplemented from eZDataType.
Definition at line 531 of file ezenumtype.php.
| eZEnumType::eZEnumType | ( | ) |
Constructor
Definition at line 52 of file ezenumtype.php.
| eZEnumType::fetchClassAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | contentClassAttribute | ||
| ) |
Fetches the http post var integer input and stores it in the data instance.
Reimplemented from eZDataType.
Definition at line 266 of file ezenumtype.php.
| eZEnumType::fetchObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | contentObjectAttribute | ||
| ) |
Fetches the http post var integer input and stores it in the data instance.
Reimplemented from eZDataType.
Definition at line 154 of file ezenumtype.php.
| eZEnumType::hasObjectAttributeContent | ( | $ | contentObjectAttribute | ) |
true if the datatype finds any content in the attribute $contentObjectAttribute. Reimplemented from eZDataType.
Definition at line 478 of file ezenumtype.php.
| eZEnumType::initializeClassAttribute | ( | $ | classAttribute | ) |
Set class attribute value for template version
Reimplemented from eZDataType.
Definition at line 112 of file ezenumtype.php.
| eZEnumType::initializeObjectAttribute | ( | $ | contentObjectAttribute, |
| $ | currentVersion, | ||
| $ | originalContentObjectAttribute | ||
| ) |
Sets value according to current version
Reimplemented from eZDataType.
Definition at line 61 of file ezenumtype.php.
| eZEnumType::isIndexable | ( | ) |
Reimplemented from eZDataType.
Definition at line 411 of file ezenumtype.php.
| eZEnumType::metaData | ( | $ | contentObjectAttribute | ) |
Returns the meta data used for storing search indeces.
Reimplemented from eZDataType.
Definition at line 373 of file ezenumtype.php.
| eZEnumType::objectAttributeContent | ( | $ | contentObjectAttribute | ) |
Returns actual the class attribute content.
Reimplemented from eZDataType.
Definition at line 238 of file ezenumtype.php.
Referenced by title().
| eZEnumType::objectDisplayInformation | ( | $ | objectAttribute, |
| $ | mergeInfo = false |
||
| ) |
Sets grouped_input to true when checkboxes or radiobuttons are used.
Reimplemented from eZDataType.
Definition at line 400 of file ezenumtype.php.
| eZEnumType::serializeContentClassAttribute | ( | $ | classAttribute, |
| $ | attributeNode, | ||
| $ | attributeParametersNode | ||
| ) |
Adds the necessary dom structure to the attribute parameters.
Reimplemented from eZDataType.
Definition at line 483 of file ezenumtype.php.
| eZEnumType::serializeContentObjectAttribute | ( | $ | package, |
| $ | contentObjectAttribute | ||
| ) |
Reimplemented from eZDataType.
Definition at line 420 of file ezenumtype.php.
| eZEnumType::storeClassAttribute | ( | $ | classAttribute, |
| $ | version | ||
| ) |
Stores the datatype data to the database which is related to the class attribute. The $version parameter determines which version is currently being stored, 0 is the real version while 1 is the temporary version.
Reimplemented from eZDataType.
Definition at line 299 of file ezenumtype.php.
| eZEnumType::storeDefinedClassAttribute | ( | $ | classAttribute | ) |
Reimplemented from eZDataType.
Definition at line 304 of file ezenumtype.php.
| eZEnumType::storeObjectAttribute | ( | $ | contentObjectAttribute | ) |
Does nothing since it has been stored. See fetchObjectAttributeHTTPInput for the actual storing.
Reimplemented from eZDataType.
Definition at line 231 of file ezenumtype.php.
| eZEnumType::title | ( | $ | contentObjectAttribute, |
| $ | name = null |
||
| ) |
Returns the object attribute title.
Reimplemented from eZDataType.
Definition at line 352 of file ezenumtype.php.
| eZEnumType::unserializeContentClassAttribute | ( | $ | classAttribute, |
| $ | attributeNode, | ||
| $ | attributeParametersNode | ||
| ) |
Extracts values from the attribute parameters and sets it in the class attribute.
Reimplemented from eZDataType.
Definition at line 504 of file ezenumtype.php.
| eZEnumType::unserializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute, | ||
| $ | attributeNode | ||
| ) |
Unserialize contentobject attribute
| package | |
| contentobject | attribute object |
| ezdomnode | object |
Reimplemented from eZDataType.
Definition at line 450 of file ezenumtype.php.
| eZEnumType::validateClassAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | contentClassAttribute | ||
| ) |
Validates the input and returns true if the input was valid for this datatype.
Reimplemented from eZDataType.
Definition at line 258 of file ezenumtype.php.
| eZEnumType::validateObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | contentObjectAttribute | ||
| ) |
Validates the input and returns true if the input was valid for this datatype.
Reimplemented from eZDataType.
Definition at line 207 of file ezenumtype.php.
| const eZEnumType::DATA_TYPE_STRING = 'ezenum' |
Definition at line 43 of file ezenumtype.php.
| const eZEnumType::IS_MULTIPLE_FIELD = 'data_int1' |
Definition at line 44 of file ezenumtype.php.
| const eZEnumType::IS_MULTIPLE_VARIABLE = '_ezenum_ismultiple_value_' |
Definition at line 45 of file ezenumtype.php.
| const eZEnumType::IS_OPTION_FIELD = 'data_int2' |
Definition at line 46 of file ezenumtype.php.
| const eZEnumType::IS_OPTION_VARIABLE = '_ezenum_isoption_value_' |
Definition at line 47 of file ezenumtype.php.