|
eZ Publish
[4.2]
|
Stores option values. More...
Inheritance diagram for eZOptionType:
Collaboration diagram for eZOptionType:Public Member Functions | |
| batchInitializeObjectAttributeData ($classAttribute) | |
| customObjectAttributeHTTPAction ($http, $action, $contentObjectAttribute, $parameters) | |
| eZOptionType () | |
| fetchClassAttributeHTTPInput ($http, $base, $classAttribute) | |
| fetchCollectionAttributeHTTPInput ($collection, $collectionAttribute, $http, $base, $contentObjectAttribute) | |
| fetchObjectAttributeHTTPInput ($http, $base, $contentObjectAttribute) | |
| fromString ($contentObjectAttribute, $string) | |
| hasObjectAttributeContent ($contentObjectAttribute) | |
| initializeObjectAttribute ($contentObjectAttribute, $currentVersion, $originalContentObjectAttribute) | |
| isInformationCollector () | |
| metaData ($contentObjectAttribute) | |
| objectAttributeContent ($contentObjectAttribute) | |
| productOptionInformation ($objectAttribute, $optionID, $productItem) | |
| serializeContentClassAttribute ($classAttribute, $attributeNode, $attributeParametersNode) | |
| serializeContentObjectAttribute ($package, $objectAttribute) | |
| storeObjectAttribute ($contentObjectAttribute) | |
| supportsBatchInitializeObjectAttribute () | |
| title ($contentObjectAttribute, $name="name") | |
| toString ($contentObjectAttribute) | |
| unserializeContentClassAttribute ($classAttribute, $attributeNode, $attributeParametersNode) | |
| unserializeContentObjectAttribute ($package, $objectAttribute, $attributeNode) | |
| validateCollectionAttributeHTTPInput ($http, $base, $contentObjectAttribute) | |
| validateObjectAttributeHTTPInput ($http, $base, $contentObjectAttribute) | |
Public Attributes | |
| const | DATA_TYPE_STRING = "ezoption" |
| const | DEFAULT_NAME_VARIABLE = "_ezoption_default_name_" |
Stores option values.
Definition at line 38 of file ezoptiontype.php.
| eZOptionType::batchInitializeObjectAttributeData | ( | $ | classAttribute | ) |
Reimplemented from eZDataType.
Definition at line 457 of file ezoptiontype.php.
| eZOptionType::customObjectAttributeHTTPAction | ( | $ | http, |
| $ | action, | ||
| $ | objectAttribute, | ||
| $ | parameters | ||
| ) |
Executes a custom action for an object attribute which was defined on the web page.
Reimplemented from eZDataType.
Definition at line 217 of file ezoptiontype.php.
| eZOptionType::eZOptionType | ( | ) |
Definition at line 44 of file ezoptiontype.php.
| eZOptionType::fetchClassAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | classAttribute | ||
| ) |
Fetches the HTTP input for the content class attribute.
Reimplemented from eZDataType.
Definition at line 330 of file ezoptiontype.php.
| eZOptionType::fetchCollectionAttributeHTTPInput | ( | $ | collection, |
| $ | collectionAttribute, | ||
| $ | http, | ||
| $ | base, | ||
| $ | contentObjectAttribute | ||
| ) |
Fetches the http post variables for collected information
Reimplemented from eZDataType.
Definition at line 203 of file ezoptiontype.php.
| eZOptionType::fetchObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | contentObjectAttribute | ||
| ) |
Fetches the http post var integer input and stores it in the data instance.
Reimplemented from eZDataType.
Definition at line 170 of file ezoptiontype.php.
| eZOptionType::fromString | ( | $ | contentObjectAttribute, |
| $ | string | ||
| ) |
Reimplemented from eZDataType.
Definition at line 365 of file ezoptiontype.php.
| eZOptionType::hasObjectAttributeContent | ( | $ | contentObjectAttribute | ) |
true if the datatype finds any content in the attribute $contentObjectAttribute. Reimplemented from eZDataType.
Definition at line 296 of file ezoptiontype.php.
| eZOptionType::initializeObjectAttribute | ( | $ | contentObjectAttribute, |
| $ | currentVersion, | ||
| $ | originalContentObjectAttribute | ||
| ) |
Sets the default value.
Reimplemented from eZDataType.
Definition at line 306 of file ezoptiontype.php.
| eZOptionType::isInformationCollector | ( | ) |
Reimplemented from eZDataType.
Definition at line 447 of file ezoptiontype.php.
| eZOptionType::metaData | ( | $ | contentObjectAttribute | ) |
Returns the meta data used for storing search indeces.
Reimplemented from eZDataType.
Definition at line 162 of file ezoptiontype.php.
| eZOptionType::objectAttributeContent | ( | $ | contentObjectAttribute | ) |
Returns the content.
Reimplemented from eZDataType.
Definition at line 150 of file ezoptiontype.php.
| eZOptionType::productOptionInformation | ( | $ | objectAttribute, |
| $ | optionID, | ||
| $ | productItem | ||
| ) |
Finds the option which has the ID that matches $optionID, if found it returns an option structure.
Reimplemented from eZDataType.
Definition at line 268 of file ezoptiontype.php.
| eZOptionType::serializeContentClassAttribute | ( | $ | classAttribute, |
| $ | attributeNode, | ||
| $ | attributeParametersNode | ||
| ) |
Adds the necessary dom structure to the attribute parameters.
Reimplemented from eZDataType.
Definition at line 391 of file ezoptiontype.php.
| eZOptionType::serializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute | ||
| ) |
| package | |
| objectAttribute | content attribute |
Reimplemented from eZDataType.
Definition at line 406 of file ezoptiontype.php.
| eZOptionType::storeObjectAttribute | ( | $ | contentObjectAttribute | ) |
| eZOptionType::supportsBatchInitializeObjectAttribute | ( | ) |
Reimplemented from eZDataType.
Definition at line 452 of file ezoptiontype.php.
| eZOptionType::title | ( | $ | contentObjectAttribute, |
| $ | name = "name" |
||
| ) |
Returns the integer value.
Reimplemented from eZDataType.
Definition at line 287 of file ezoptiontype.php.
| eZOptionType::toString | ( | $ | objectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 347 of file ezoptiontype.php.
| eZOptionType::unserializeContentClassAttribute | ( | $ | classAttribute, |
| $ | attributeNode, | ||
| $ | attributeParametersNode | ||
| ) |
Extracts values from the attribute parameters and sets it in the class attribute.
Reimplemented from eZDataType.
Definition at line 400 of file ezoptiontype.php.
| eZOptionType::unserializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute, | ||
| $ | attributeNode | ||
| ) |
Unserialize contentobject attribute
| package | |
| objectAttribute | contentobject attribute object |
| attributeNode | ezdomnode object |
Reimplemented from eZDataType.
Definition at line 419 of file ezoptiontype.php.
| eZOptionType::validateCollectionAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | objectAttribute | ||
| ) |
Validates the input for an object attribute and returns a validation state as defined in eZInputValidator.
Reimplemented from eZDataType.
Definition at line 50 of file ezoptiontype.php.
| eZOptionType::validateObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | contentObjectAttribute | ||
| ) |
Validates the input and returns true if the input was valid for this datatype.
Reimplemented from eZDataType.
Definition at line 76 of file ezoptiontype.php.
| const eZOptionType::DATA_TYPE_STRING = "ezoption" |
Definition at line 42 of file ezoptiontype.php.
| const eZOptionType::DEFAULT_NAME_VARIABLE = "_ezoption_default_name_" |
Definition at line 40 of file ezoptiontype.php.