|
eZ Publish
[4.2]
|
Base class for content datatypes. More...
Inheritance diagram for eZDataType:Public Member Functions | |
| attribute ($attr) | |
| attributes () | |
| batchInitializeObjectAttributeData ($classAttribute) | |
| classAttributeContent ($classAttribute) | |
| classAttributeRemovableInformation ($classAttribute, $includeAll=true) | |
| classDisplayInformation ($classAttribute, $mergeInfo=false) | |
| cloneClassAttribute ($oldClassAttribute, $newClassAttribute) | |
| contentActionList ($classAttribute) | |
| createContentObjectAttributeDOMNode ($objectAttribute) | |
| Create empty content object attribute DOM node. | |
| customClassAttributeHTTPAction ($http, $action, $classAttribute) | |
| customObjectAttributeHTTPAction ($http, $action, $objectAttribute, $parameters) | |
| customSorting () | |
| customSortingSQL ($params) | |
| deleteStoredClassAttribute ($classAttribute, $version=null) | |
| deleteStoredObjectAttribute ($objectAttribute, $version=null) | |
| diff ($old, $new, $options=false) | |
| editTemplate ($contentobjectAttribute) | |
| eZDataType ($dataTypeString, $name, $properties=array()) | |
| fetchActionValue ($action, $actionName, &$value) | |
| fetchClassAttributeHTTPInput ($http, $base, $classAttribute) | |
| fetchCollectionAttributeHTTPInput ($collection, $collectionAttribute, $http, $base, $objectAttribute) | |
| fetchObjectAttributeHTTPInput ($http, $base, $objectAttribute) | |
| fixRelatedObjectItem ($contentObjectAttribute, $objectID, $mode) | |
| fixupClassAttributeHTTPInput ($http, $base, $classAttribute) | |
| fixupCollectionAttributeHTTPInput ($http, $base, $objectAttribute) | |
| fixupObjectAttributeHTTPInput ($http, $base, $objectAttribute) | |
| fromString ($objectAttribute, $string) | |
| getDBAExtensionFilePath () | |
| getDBAFileName () | |
| getDBAFilePath ($checkExtensions=true) | |
| handleCustomObjectHTTPActions ($http, $attributeDataBaseName, $customActionAttributeArray, $customActionParameters) | |
| handleDownload ($object, $objectVersion, $objectLanguage, $objectAttribute) | |
| hasAttribute ($attr) | |
| hasInformationCollection () | |
| hasObjectAttributeContent ($contentObjectAttribute) | |
| hasStoredFileInformation ($object, $objectVersion, $objectLanguage, $objectAttribute) | |
| importDBDataFromDBAFile ($dbaFilePath=false) | |
| informationTemplate ($contentobjectAttribute) | |
| initializeClassAttribute ($classAttribute) | |
| initializeObjectAttribute ($objectAttribute, $currentVersion, $originalContentObjectAttribute) | |
| insertHTTPFile ($object, $objectVersion, $objectLanguage, $objectAttribute, $httpFile, $mimeData, &$result) | |
| insertRegularFile ($object, $objectVersion, $objectLanguage, $objectAttribute, $filePath, &$result) | |
| insertSimpleString ($object, $objectVersion, $objectLanguage, $objectAttribute, $string, &$result) | |
| isA () | |
| isAddToBasketValidationRequired () | |
| isClassAttributeRemovable ($classAttribute) | |
| isHTTPFileInsertionSupported () | |
| isIndexable () | |
| isInformationCollector () | |
| isRegularFileInsertionSupported () | |
| isSimpleStringInsertionSupported () | |
| metaData ($contentObjectAttribute) | |
| objectAttributeContent ($objectAttribute) | |
| objectDisplayInformation ($objectAttribute, $mergeInfo=false) | |
| onPublish ($contentObjectAttribute, $contentObject, $publishedNodes) | |
| postInitializeObjectAttribute ($objectAttribute, $currentVersion, $originalContentObjectAttribute) | |
| postStore ($objectAttribute) | |
| postUnserializeContentObjectAttribute ($package, $objectAttribute) | |
| preStoreClassAttribute ($classAttribute, $version) | |
| preStoreDefinedClassAttribute ($classAttribute) | |
| productOptionInformation ($objectAttribute, $optionID, $productItem) | |
| removeRelatedObjectItem ($contentObjectAttribute, $objectID) | |
| repairContentObjectAttribute ($contentObjectAttribute) | |
| resultTemplate (&$collectionAttribute) | |
| serializeContentClassAttribute ($classAttribute, $attributeNode, $attributeParametersNode) | |
| serializeContentObjectAttribute ($package, $objectAttribute) | |
| sortKey ($objectAttribute) | |
| sortKeyType () | |
| storeClassAttribute ($classAttribute, $version) | |
| storeDefinedClassAttribute ($classAttribute) | |
| storedFileInformation ($object, $objectVersion, $objectLanguage, $objectAttribute) | |
| storeObjectAttribute ($objectAttribute) | |
| supportsBatchInitializeObjectAttribute () | |
| templateList () | |
| title ($objectAttribute, $name=null) | |
| toString ($objectAttribute) | |
| trashStoredObjectAttribute ($objectAttribute, $version=null) | |
| unserializeContentClassAttribute ($classAttribute, $attributeNode, $attributeParametersNode) | |
| unserializeContentObjectAttribute ($package, $objectAttribute, $attributeNode) | |
| validateAddToBasket ($objectAttribute, $data, &$errors) | |
| validateClassAttributeHTTPInput ($http, $base, $classAttribute) | |
| validateCollectionAttributeHTTPInput ($http, $base, $objectAttribute) | |
| validateObjectAttributeHTTPInput ($http, $base, $objectAttribute) | |
| viewTemplate ($contentobjectAttribute) | |
Static Public Member Functions | |
| static | allowedTypes () |
| static | create ($dataTypeString) |
| static | loadAndRegisterAllTypes () |
| static | loadAndRegisterType ($type) |
| static | register ($dataTypeString, $className) |
| static | registeredDataTypes () |
Public Attributes | |
| $DataTypeString | |
| The datatype string ID, used for uniquely identifying a datatype. | |
| $Name | |
| The descriptive name of the datatype, usually used for displaying to the user. | |
Private Member Functions | |
| cleanDBDataBeforeImport () | |
Base class for content datatypes.
Defines both the interface for datatypes as well as functions for registering, quering and fetching datatypes.
Each new datatype will inherit this class and define some functions as well as three templates. A datatype has three roles, it handles definition of content class attributes, editing of a content object attribute and viewing of a content object attribute. The content class attribute definition part is optional while object attribute edit and view must be implemented for the datatype to be usable.
If the datatype handles class attribute definition it must define one or more of these functions: storeClassAttribute, validateClassAttributeHTTPInput, fixupClassAttributeHTTPInput, fetchClassAttributeHTTPInput. See each function for more details. The class attribute definition usually defines the default data and/or the validation rules for an object attribute.
Object attribute editing must define these functions: storeObjectAttribute, validateObjectAttributeHTTPInput, fixupObjectAttributeHTTPInput, fetchObjectAttributeHTTPInput, initializeObjectAttribute. If the attribute wants to have a custom action it must implement the customObjectAttributeHTTPAction function. See each function for more details.
Each datatype initializes itself with a datatype string id (ezstring, ezinteger) and a descriptive name. The datatype string id must be unique for the whole system and should have a prefix, for instance we in eZ Systems use ez as our prefix.
Definition at line 65 of file ezdatatype.php.
| static eZDataType::allowedTypes | ( | ) | [static] |
Definition at line 1179 of file ezdatatype.php.
Referenced by loadAndRegisterAllTypes().
| eZDataType::attribute | ( | $ | attr | ) |
Definition at line 244 of file ezdatatype.php.
| eZDataType::attributes | ( | ) |
Definition at line 228 of file ezdatatype.php.
| eZDataType::batchInitializeObjectAttributeData | ( | $ | classAttribute | ) |
Reimplemented in eZXMLTextType, eZMultiOption2Type, eZDateTimeType, eZMatrixType, eZIntegerType, eZOptionType, eZTimeType, eZFloatType, eZStringType, eZDateType, eZRangeOptionType, eZBooleanType, and eZProductCategoryType.
Definition at line 1406 of file ezdatatype.php.
| eZDataType::classAttributeContent | ( | $ | classAttribute | ) |
Returns the content data for the given content class attribute.
Reimplemented in eZObjectRelationListType, eZObjectRelationType, eZMatrixType, eZISBNType, eZCountryType, eZDateTimeType, eZEnumType, eZSelectionType, eZMultiPriceType, and eZPriceType.
Definition at line 608 of file ezdatatype.php.
| eZDataType::classAttributeRemovableInformation | ( | $ | classAttribute, |
| $ | includeAll = true |
||
| ) |
If the call to isClassAttributeRemovable() returns false then this can be called to figure out why it cannot be removed, e.g to give information to the user.
false if no info is available| $includeAll | Controls whether the returned information will contain all sources for not being to remove or just the first that it finds. |
Reimplemented in eZUserType.
Definition at line 978 of file ezdatatype.php.
Referenced by isClassAttributeRemovable().
| eZDataType::classDisplayInformation | ( | $ | classAttribute, |
| $ | mergeInfo = false |
||
| ) |
Will return information on how the datatype should be represented in the various display modes when used by a class.
If this method is reimplemented the implementor must call this method with the new info array as second parameter.
| $classAttribute | The content class attribute to return info for. |
| $mergeInfo | A structure that must match the returned array, or false to ignore. Any entries here will override the default. |
edit grouped_input - If true then the datatype has lots of input elements that should be grouped. (e.g. in a fieldset) ClassEditSettings/GroupedInput in datatype.ini is used to automatically determine this field and will override the default and datatype setting if used.view Definition at line 553 of file ezdatatype.php.
| eZDataType::cleanDBDataBeforeImport | ( | ) | [private] |
Used by updateDBDataByDBAFile() method Must return true if successfull, or false otherwise.
Reimplemented in eZISBNType.
Definition at line 1401 of file ezdatatype.php.
Referenced by importDBDataFromDBAFile().
| eZDataType::cloneClassAttribute | ( | $ | oldClassAttribute, |
| $ | newClassAttribute | ||
| ) |
Clones the date from the old class attribute to the new one.
Reimplemented in eZEnumType.
Definition at line 822 of file ezdatatype.php.
| eZDataType::contentActionList | ( | $ | classAttribute | ) |
Reimplemented in eZMultiPriceType, eZPriceType, and eZKeywordType.
Definition at line 886 of file ezdatatype.php.
| static eZDataType::create | ( | $ | dataTypeString | ) | [static] |
Crates a datatype instance of the datatype string id $dataTypeString.
Definition at line 155 of file ezdatatype.php.
Referenced by eZMediaType\customObjectAttributeHTTPAction(), eZUserType\fetchObjectAttributeHTTPInput(), eZMediaType\fetchObjectAttributeHTTPInput(), eZBinaryFileType\fetchObjectAttributeHTTPInput(), eZUserType\fromString(), eZContentObjectPackageHandler\generateOverrideSettingsArray(), eZBinaryFileType\insertHTTPFile(), eZMediaType\insertHTTPFile(), eZBinaryFileType\insertRegularFile(), eZMediaType\insertRegularFile(), eZSubtreeSubscriptionType\onPublish(), eZObjectRelationListType\onPublish(), eZMediaType\postInitializeObjectAttribute(), eZURLType\postStore(), eZUserType\storeObjectAttribute(), eZPriceType\unserializeContentClassAttribute(), eZMultiPriceType\unserializeContentClassAttribute(), eZEnumType\unserializeContentClassAttribute(), eZUserType\unserializeContentObjectAttribute(), eZXMLTextType\unserializeContentObjectAttribute(), eZBinaryFileType\unserializeContentObjectAttribute(), and eZMediaType\unserializeContentObjectAttribute().
| eZDataType::createContentObjectAttributeDOMNode | ( | $ | objectAttribute | ) |
Create empty content object attribute DOM node.
The result is intended to be used in a datatype's serializeContentObjectAttribute() method.
Definition at line 1274 of file ezdatatype.php.
Referenced by eZSubtreeSubscriptionType\serializeContentObjectAttribute(), eZRangeOptionType\serializeContentObjectAttribute(), eZKeywordType\serializeContentObjectAttribute(), eZAuthorType\serializeContentObjectAttribute(), eZURLType\serializeContentObjectAttribute(), eZDateType\serializeContentObjectAttribute(), eZOptionType\serializeContentObjectAttribute(), eZTimeType\serializeContentObjectAttribute(), eZEnumType\serializeContentObjectAttribute(), eZMultiPriceType\serializeContentObjectAttribute(), eZMultiOptionType\serializeContentObjectAttribute(), eZUserType\serializeContentObjectAttribute(), eZImageType\serializeContentObjectAttribute(), eZMatrixType\serializeContentObjectAttribute(), eZXMLTextType\serializeContentObjectAttribute(), eZObjectRelationType\serializeContentObjectAttribute(), eZDateTimeType\serializeContentObjectAttribute(), eZIniSettingType\serializeContentObjectAttribute(), eZMultiOption2Type\serializeContentObjectAttribute(), eZBinaryFileType\serializeContentObjectAttribute(), eZMediaType\serializeContentObjectAttribute(), and eZObjectRelationListType\serializeContentObjectAttribute().
| eZDataType::customClassAttributeHTTPAction | ( | $ | http, |
| $ | action, | ||
| $ | classAttribute | ||
| ) |
Executes a custom action for a class attribute which was defined on the web page.
Reimplemented in eZObjectRelationListType, eZObjectRelationType, eZIdentifierType, eZMatrixType, eZEnumType, and eZISBNType.
Definition at line 714 of file ezdatatype.php.
| eZDataType::customObjectAttributeHTTPAction | ( | $ | http, |
| $ | action, | ||
| $ | objectAttribute, | ||
| $ | parameters | ||
| ) |
Executes a custom action for an object attribute which was defined on the web page.
Reimplemented in eZObjectRelationListType, eZXMLTextType, eZImageType, eZMediaType, eZBinaryFileType, eZObjectRelationType, eZMultiOption2Type, eZMultiOptionType, eZMultiPriceType, eZAuthorType, eZOptionType, and eZMatrixType.
Definition at line 795 of file ezdatatype.php.
| eZDataType::customSorting | ( | ) |
Reimplemented in eZMultiPriceType.
Definition at line 1008 of file ezdatatype.php.
| eZDataType::customSortingSQL | ( | $ | params | ) |
Reimplemented in eZMultiPriceType.
Definition at line 1013 of file ezdatatype.php.
| eZDataType::deleteStoredClassAttribute | ( | $ | classAttribute, |
| $ | version = null |
||
| ) |
Clean up stored class attribute
Reimplemented in eZEnumType.
Definition at line 878 of file ezdatatype.php.
| eZDataType::deleteStoredObjectAttribute | ( | $ | objectAttribute, |
| $ | version = null |
||
| ) |
Clean up stored object attribute
Reimplemented in eZObjectRelationListType, eZXMLTextType, eZMultiPriceType, eZKeywordType, eZBinaryFileType, eZMediaType, eZEnumType, eZImageType, eZURLType, and eZUserType.
Definition at line 870 of file ezdatatype.php.
| eZDataType::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 in eZXMLTextType, eZIniSettingType, eZEnumType, eZMultiPriceType, eZCountryType, eZStringType, eZTextType, eZPackageType, eZProductCategoryType, and eZSubtreeSubscriptionType.
Definition at line 1293 of file ezdatatype.php.
| eZDataType::editTemplate | ( | $ | contentobjectAttribute | ) |
Reimplemented in eZMultiOption2Type, eZXMLTextType, and eZBinaryFileType.
Definition at line 118 of file ezdatatype.php.
| eZDataType::eZDataType | ( | $ | dataTypeString, |
| $ | name, | ||
| $ | properties = array() |
||
| ) |
Initializes the datatype with the string id $dataTypeString and the name $name.
Definition at line 71 of file ezdatatype.php.
Referenced by eZAuthorType\eZAuthorType(), eZBinaryFileType\eZBinaryFileType(), eZBooleanType\eZBooleanType(), eZCountryType\eZCountryType(), eZDateTimeType\eZDateTimeType(), eZDateType\eZDateType(), eZEmailType\eZEmailType(), eZEnumType\eZEnumType(), eZFloatType\eZFloatType(), eZIdentifierType\eZIdentifierType(), eZImageType\eZImageType(), eZIniSettingType\eZIniSettingType(), eZIntegerType\eZIntegerType(), eZISBNType\eZISBNType(), eZKeywordType\eZKeywordType(), eZMatrixType\eZMatrixType(), eZMediaType\eZMediaType(), eZMultiOption2Type\eZMultiOption2Type(), eZMultiOptionType\eZMultiOptionType(), eZMultiPriceType\eZMultiPriceType(), eZObjectRelationListType\eZObjectRelationListType(), eZObjectRelationType\eZObjectRelationType(), eZOptionType\eZOptionType(), eZPackageType\eZPackageType(), eZPriceType\eZPriceType(), eZProductCategoryType\eZProductCategoryType(), eZRangeOptionType\eZRangeOptionType(), eZSelectionType\eZSelectionType(), eZStringType\eZStringType(), eZSubtreeSubscriptionType\eZSubtreeSubscriptionType(), eZTextType\eZTextType(), eZTimeType\eZTimeType(), eZURLType\eZURLType(), eZUserType\eZUserType(), and eZXMLTextType\eZXMLTextType().
| eZDataType::fetchActionValue | ( | $ | action, |
| $ | actionName, | ||
| &$ | value | ||
| ) |
Matches the action against the action name $actionName and extracts the value from the action puts it into $value.
true if the action matched and a value was found, false otherwise. If no match is made or no value found the $value parameter is not modified. Definition at line 725 of file ezdatatype.php.
Referenced by eZObjectRelationListType\customObjectAttributeHTTPAction().
| eZDataType::fetchClassAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | classAttribute | ||
| ) |
Fetches the HTTP input for the content class attribute.
Reimplemented in eZMediaType, eZObjectRelationListType, eZBinaryFileType, eZMultiOption2Type, eZDateTimeType, eZImageType, eZMultiOptionType, eZIntegerType, eZOptionType, eZTimeType, eZISBNType, eZMatrixType, eZEnumType, eZStringType, eZDateType, eZRangeOptionType, eZXMLTextType, eZObjectRelationType, eZIniSettingType, eZTextType, eZFloatType, eZIdentifierType, eZPackageType, eZBooleanType, eZMultiPriceType, eZKeywordType, eZPriceType, eZCountryType, and eZSelectionType.
Definition at line 706 of file ezdatatype.php.
| eZDataType::fetchCollectionAttributeHTTPInput | ( | $ | collection, |
| $ | collectionAttribute, | ||
| $ | http, | ||
| $ | base, | ||
| $ | objectAttribute | ||
| ) |
Fetches the HTTP collected information for the content object attribute.
Reimplemented in eZCountryType, eZDateTimeType, eZIntegerType, eZSelectionType, eZMultiOptionType, eZOptionType, eZStringType, eZDateType, eZTimeType, eZEmailType, eZTextType, eZBooleanType, and eZProductCategoryType.
Definition at line 787 of file ezdatatype.php.
| eZDataType::fetchObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | objectAttribute | ||
| ) |
Fetches the HTTP input for the content object attribute.
Reimplemented in eZBinaryFileType, eZMediaType, eZIniSettingType, eZXMLTextType, eZCountryType, eZISBNType, eZAuthorType, eZImageType, eZSelectionType, eZIntegerType, eZMultiPriceType, eZUserType, eZMultiOptionType, eZObjectRelationListType, eZOptionType, eZStringType, eZEnumType, eZPriceType, eZMatrixType, eZDateTimeType, eZURLType, eZTextType, eZBooleanType, eZEmailType, eZDateType, eZMultiOption2Type, eZKeywordType, eZTimeType, eZSubtreeSubscriptionType, eZRangeOptionType, eZObjectRelationType, eZProductCategoryType, eZFloatType, eZIdentifierType, and eZPackageType.
Definition at line 758 of file ezdatatype.php.
| eZDataType::fixRelatedObjectItem | ( | $ | contentObjectAttribute, |
| $ | objectID, | ||
| $ | mode | ||
| ) |
Fixes objects with given ID in the relations list according to what is done with object
Reimplemented in eZObjectRelationListType.
Definition at line 1263 of file ezdatatype.php.
| eZDataType::fixupClassAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | classAttribute | ||
| ) |
Tries to do a fixup on the input text so that it's acceptable as class attribute input.
Reimplemented in eZMediaType, eZObjectRelationListType, eZIntegerType, eZFloatType, eZStringType, eZObjectRelationType, and eZKeywordType.
Definition at line 697 of file ezdatatype.php.
| eZDataType::fixupCollectionAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | objectAttribute | ||
| ) |
Tries to do a fixup on the input text so that it's acceptable as object attribute input.
Definition at line 777 of file ezdatatype.php.
| eZDataType::fixupObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | objectAttribute | ||
| ) |
Tries to do a fixup on the input text so that it's acceptable as object attribute input.
Reimplemented in eZFloatType, eZIntegerType, and eZObjectRelationListType.
Definition at line 750 of file ezdatatype.php.
| eZDataType::fromString | ( | $ | objectAttribute, |
| $ | string | ||
| ) |
Reimplemented in eZObjectRelationListType, eZMediaType, eZBinaryFileType, eZIniSettingType, eZImageType, eZObjectRelationType, eZUserType, eZMatrixType, eZXMLTextType, eZIntegerType, eZMultiOptionType, eZISBNType, eZCountryType, eZOptionType, eZFloatType, eZSelectionType, eZMultiPriceType, eZDateTimeType, eZStringType, eZDateType, eZURLType, eZKeywordType, eZTimeType, eZPriceType, eZTextType, eZEmailType, eZAuthorType, eZBooleanType, eZProductCategoryType, eZRangeOptionType, eZSubtreeSubscriptionType, and eZIdentifierType.
Definition at line 1034 of file ezdatatype.php.
| eZDataType::getDBAExtensionFilePath | ( | ) |
Returns dba-data file extension path (relative to the system root folder) for the specific datatype.
Definition at line 1328 of file ezdatatype.php.
Referenced by getDBAFilePath().
| eZDataType::getDBAFileName | ( | ) |
Returns dba-data file name of the specific datatype. This one is the default dba-data file name for all datatypes
Definition at line 1306 of file ezdatatype.php.
Referenced by getDBAExtensionFilePath(), and getDBAFilePath().
| eZDataType::getDBAFilePath | ( | $ | checkExtensions = true | ) |
Returns dba-data file path (relative to the system root folder) for the specific datatype.
Definition at line 1314 of file ezdatatype.php.
Referenced by importDBDataFromDBAFile().
| eZDataType::handleCustomObjectHTTPActions | ( | $ | http, |
| $ | attributeDataBaseName, | ||
| $ | customActionAttributeArray, | ||
| $ | customActionParameters | ||
| ) |
Takes care of custom action handling, this means checking if a custom action request must be sent to a contentobject attribute. This function is only useful for datatypes that must do custom action handling for sub objects and attributes.
Reimplemented in eZObjectRelationListType.
Definition at line 805 of file ezdatatype.php.
| eZDataType::handleDownload | ( | $ | object, |
| $ | objectVersion, | ||
| $ | objectLanguage, | ||
| $ | objectAttribute | ||
| ) |
This function is called when someone tries to download the file.
| $object | The contentobject in which the attribute is contained |
| $objectVersion | The current version of the object it is being worked on |
| $objectLanguage | The current language being worked on |
| $objectAttribute | The attribute which stored the file |
true if any action has been don or false if hasn't. Reimplemented in eZBinaryFileType.
Definition at line 400 of file ezdatatype.php.
| eZDataType::hasAttribute | ( | $ | attr | ) |
Definition at line 236 of file ezdatatype.php.
| eZDataType::hasInformationCollection | ( | ) |
Definition at line 907 of file ezdatatype.php.
| eZDataType::hasObjectAttributeContent | ( | $ | contentObjectAttribute | ) |
true if the datatype finds any content in the attribute $contentObjectAttribute. Reimplemented in eZObjectRelationListType, eZMediaType, eZBinaryFileType, eZObjectRelationType, eZMultiOption2Type, eZEnumType, eZDateTimeType, eZXMLTextType, eZImageType, eZIniSettingType, eZISBNType, eZCountryType, eZIntegerType, eZSelectionType, eZTimeType, eZFloatType, eZMultiOptionType, eZStringType, eZMultiPriceType, eZDateType, eZOptionType, eZAuthorType, eZUserType, eZKeywordType, eZBooleanType, eZURLType, eZTextType, eZPriceType, eZEmailType, eZPackageType, eZRangeOptionType, eZProductCategoryType, eZIdentifierType, eZSubtreeSubscriptionType, and eZMatrixType.
Definition at line 600 of file ezdatatype.php.
| eZDataType::hasStoredFileInformation | ( | $ | object, |
| $ | objectVersion, | ||
| $ | objectLanguage, | ||
| $ | objectAttribute | ||
| ) |
Checks if the datatype supports returning file information.
| $object | The contentobject in which the attribute is contained |
| $objectVersion | The current version of the object it is being worked on |
| $objectLanguage | The current language being worked on |
| $objectAttribute | The attribute which stored the file |
true if file information is supported or false if it doesn't. Reimplemented in eZMediaType, eZBinaryFileType, and eZImageType.
Definition at line 383 of file ezdatatype.php.
| eZDataType::importDBDataFromDBAFile | ( | $ | dbaFilePath = false | ) |
Used by setup-wizard to update database data using per datatype dba file which is usually placed in share subfolder of the datatype and (share/db_data.dba) Any reimplementation of this method must return true if import is succesfully done, otherwise false.
Definition at line 1353 of file ezdatatype.php.
Referenced by eZISBNType\customClassAttributeHTTPAction().
| eZDataType::informationTemplate | ( | $ | contentobjectAttribute | ) |
Reimplemented in eZXMLTextType, and eZBinaryFileType.
Definition at line 131 of file ezdatatype.php.
| eZDataType::initializeClassAttribute | ( | $ | classAttribute | ) |
Initializes the class attribute with some data.
Reimplemented in eZObjectRelationListType, eZISBNType, eZDateTimeType, eZTimeType, eZDateType, eZIniSettingType, eZXMLTextType, eZPriceType, eZIdentifierType, eZEnumType, eZMultiPriceType, and eZTextType.
Definition at line 814 of file ezdatatype.php.
| eZDataType::initializeObjectAttribute | ( | $ | objectAttribute, |
| $ | currentVersion, | ||
| $ | originalContentObjectAttribute | ||
| ) |
Initializes the object attribute with some data.
Reimplemented in eZMultiOption2Type, eZObjectRelationListType, eZDateTimeType, eZMultiOptionType, eZOptionType, eZTimeType, eZSelectionType, eZMatrixType, eZIdentifierType, eZDateType, eZRangeOptionType, eZCountryType, eZIntegerType, eZIniSettingType, eZXMLTextType, eZAuthorType, eZMultiPriceType, eZPriceType, eZBinaryFileType, eZStringType, eZFloatType, eZTextType, eZPackageType, eZEnumType, eZBooleanType, eZKeywordType, eZURLType, eZObjectRelationType, eZImageType, eZProductCategoryType, and eZEmailType.
Definition at line 830 of file ezdatatype.php.
| eZDataType::insertHTTPFile | ( | $ | object, |
| $ | objectVersion, | ||
| $ | objectLanguage, | ||
| $ | objectAttribute, | ||
| $ | httpFile, | ||
| $ | mimeData, | ||
| &$ | result | ||
| ) |
Inserts the HTTP file $httpFile to the content object attribute $objectAttribute.
| $object | The contentobject in which the attribute is contained | |
| $objectVersion | The current version of the object it is being worked on | |
| $objectLanguage | The current language being worked on | |
| $objectAttribute | The attribute which will get the file | |
| $httpFile | Object of type eZHTTPFile which contains information on the uploaded file | |
| $mimeData | MIME-Type information on the file, can be used to figure out a storage name | |
| [out] | $result | Array which will be filled with information on the process, it will contain:
|
true if the file was stored correctly in the attribute or false if something failed. null (the default) if does not support HTTP files. null Reimplemented in eZMediaType, eZBinaryFileType, and eZImageType.
Definition at line 307 of file ezdatatype.php.
| eZDataType::insertRegularFile | ( | $ | object, |
| $ | objectVersion, | ||
| $ | objectLanguage, | ||
| $ | objectAttribute, | ||
| $ | filePath, | ||
| &$ | result | ||
| ) |
Inserts the file named $filePath to the content object attribute $objectAttribute.
| $object | The contentobject in which the attribute is contained | |
| $objectVersion | The current version of the object it is being worked on | |
| $objectLanguage | The current language being worked on | |
| $objectAttribute | The attribute which will get the file | |
| $filePath | Full path including the filename | |
| [out] | $result | Array which will be filled with information on the process, it will contain:
|
true if the file was stored correctly in the attribute or false if something failed. null (the default) if does not support HTTP files. null Reimplemented in eZMediaType, eZBinaryFileType, and eZImageType.
Definition at line 335 of file ezdatatype.php.
| eZDataType::insertSimpleString | ( | $ | object, |
| $ | objectVersion, | ||
| $ | objectLanguage, | ||
| $ | objectAttribute, | ||
| $ | string, | ||
| &$ | result | ||
| ) |
Inserts the string $string to the content object attribute $objectAttribute.
| $object | The contentobject in which the attribute is contained | |
| $objectVersion | The current version of the object it is being worked on | |
| $objectLanguage | The current language being worked on | |
| $objectAttribute | The attribute which will get the file | |
| $filePath | Full path including the filename | |
| [out] | $result | Array which will be filled with information on the process, it will contain:
|
true if the file was stored correctly in the attribute or false if something failed. null (the default) if does not support HTTP files. null Reimplemented in eZCountryType, eZStringType, and eZTextType.
Definition at line 363 of file ezdatatype.php.
| eZDataType::isA | ( | ) |
Definition at line 220 of file ezdatatype.php.
Referenced by createContentObjectAttributeDOMNode(), and serializeContentObjectAttribute().
| eZDataType::isAddToBasketValidationRequired | ( | ) |
Reimplemented in eZMultiOption2Type.
Definition at line 932 of file ezdatatype.php.
| eZDataType::isClassAttributeRemovable | ( | $ | classAttribute | ) |
Queries the datatype if the attribute containing this datatype can be removed from the class. This can be used by datatypes to ensure that very important datatypes that could cause system malfunction is not removed. The datatype will only need to reimplemented this if it wants to do some checking, the default returns true.
true if the class attribute can be removed or false. false, if it returns false or an empty 'list' it will return true. Definition at line 960 of file ezdatatype.php.
| eZDataType::isHTTPFileInsertionSupported | ( | ) |
true if the datatype support insertion of HTTP files or false (default) otherwise.Reimplemented in eZMediaType, eZBinaryFileType, and eZImageType.
Definition at line 261 of file ezdatatype.php.
| eZDataType::isIndexable | ( | ) |
Reimplemented in eZObjectRelationListType, eZBinaryFileType, eZObjectRelationType, eZXMLTextType, eZIntegerType, eZCountryType, eZSelectionType, eZEnumType, eZMatrixType, eZISBNType, eZStringType, eZAuthorType, eZUserType, eZDateTimeType, eZKeywordType, eZDateType, eZTextType, eZIdentifierType, eZPackageType, eZBooleanType, eZEmailType, eZMultiOptionType, eZProductCategoryType, and eZMultiOption2Type.
Definition at line 924 of file ezdatatype.php.
Referenced by eZDataType().
| eZDataType::isInformationCollector | ( | ) |
Reimplemented in eZXMLTextType, eZOptionType, eZCountryType, eZIntegerType, eZSelectionType, eZStringType, eZDateTimeType, eZTimeType, eZDateType, eZTextType, eZEmailType, eZBooleanType, and eZProductCategoryType.
Definition at line 986 of file ezdatatype.php.
Referenced by eZDataType().
| eZDataType::isRegularFileInsertionSupported | ( | ) |
true if the datatype support insertion of files or false (default) otherwise.Reimplemented in eZMediaType, eZBinaryFileType, and eZImageType.
Definition at line 271 of file ezdatatype.php.
| eZDataType::isSimpleStringInsertionSupported | ( | ) |
true if the datatype support insertion of simple strings or false (default) otherwise.Reimplemented in eZCountryType, eZStringType, and eZTextType.
Definition at line 281 of file ezdatatype.php.
| static eZDataType::loadAndRegisterAllTypes | ( | ) | [static] |
Definition at line 1191 of file ezdatatype.php.
| static eZDataType::loadAndRegisterType | ( | $ | type | ) | [static] |
Definition at line 1200 of file ezdatatype.php.
Referenced by create(), eZUser\isUserObject(), and loadAndRegisterAllTypes().
| eZDataType::metaData | ( | $ | contentObjectAttribute | ) |
Reimplemented in eZObjectRelationListType, eZMediaType, eZBinaryFileType, eZImageType, eZObjectRelationType, eZIntegerType, eZISBNType, eZEnumType, eZCountryType, eZXMLTextType, eZUserType, eZTimeType, eZFloatType, eZSelectionType, eZDateTimeType, eZStringType, eZDateType, eZURLType, eZIdentifierType, eZTextType, eZEmailType, eZRangeOptionType, eZPackageType, eZBooleanType, eZAuthorType, eZMultiOptionType, eZKeywordType, eZOptionType, eZMatrixType, eZProductCategoryType, eZPriceType, and eZMultiOption2Type.
Definition at line 1023 of file ezdatatype.php.
| eZDataType::objectAttributeContent | ( | $ | objectAttribute | ) |
Returns the content data for the given content object attribute.
Reimplemented in eZObjectRelationListType, eZMediaType, eZBinaryFileType, eZImageType, eZIntegerType, eZIniSettingType, eZObjectRelationType, eZXMLTextType, eZISBNType, eZFloatType, eZCountryType, eZStringType, eZDateTimeType, eZUserType, eZSelectionType, eZEnumType, eZBooleanType, eZURLType, eZMultiPriceType, eZDateType, eZTimeType, eZTextType, eZPackageType, eZEmailType, eZPriceType, eZKeywordType, eZMultiOptionType, eZProductCategoryType, eZOptionType, eZAuthorType, eZRangeOptionType, eZMatrixType, eZIdentifierType, and eZMultiOption2Type.
Definition at line 591 of file ezdatatype.php.
| eZDataType::objectDisplayInformation | ( | $ | objectAttribute, |
| $ | mergeInfo = false |
||
| ) |
Will return information on how the datatype should be represented in the various display modes when used by an object.
If this method is reimplemented the implementor must call this method with the new info array as second parameter.
| $objectAttribute | The content object attribute to return info for. |
| $mergeInfo | A structure that must match the returned array, or false to ignore. Any entries here will override the default. |
edit grouped_input - If true then the datatype has lots of input elements that should be grouped. (e.g. in a fieldset) EditSettings/GroupedInput in datatype.ini is used to automatically determine this fieldview collection grouped_input - If true then the datatype has lots of input elements that should be grouped. (e.g. in a fieldset) CollectionSettings/GroupedInput in datatype.ini is used to automatically determine this field and will override the default and datatype setting if used.result Reimplemented in eZEnumType, and eZObjectRelationType.
Definition at line 486 of file ezdatatype.php.
| eZDataType::onPublish | ( | $ | contentObjectAttribute, |
| $ | contentObject, | ||
| $ | publishedNodes | ||
| ) |
Performs necessary actions with attribute data after object is published, it means that you have access to published nodes.
Reimplemented in eZObjectRelationListType, eZImageType, eZIniSettingType, eZIdentifierType, eZXMLTextType, and eZSubtreeSubscriptionType.
Definition at line 636 of file ezdatatype.php.
| eZDataType::postInitializeObjectAttribute | ( | $ | objectAttribute, |
| $ | currentVersion, | ||
| $ | originalContentObjectAttribute | ||
| ) |
Initializes the object attribute with some data after object attribute is already stored. It means that for initial version you allready have an attribute_id and you can store data somewhere using this id.
Reimplemented in eZXMLTextType, eZMultiPriceType, and eZMediaType.
Definition at line 847 of file ezdatatype.php.
| eZDataType::postStore | ( | $ | objectAttribute | ) |
Reimplemented in eZURLType.
Definition at line 854 of file ezdatatype.php.
| eZDataType::postUnserializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute | ||
| ) |
Reimplemented in eZObjectRelationListType, eZXMLTextType, and eZObjectRelationType.
Definition at line 1174 of file ezdatatype.php.
| eZDataType::preStoreClassAttribute | ( | $ | classAttribute, |
| $ | version | ||
| ) |
Similar to the storeClassAttribute but is called before the attribute itself is stored and can be used to set values in the class attribute.
Reimplemented in eZObjectRelationListType, eZIdentifierType, eZMatrixType, eZISBNType, eZObjectRelationType, and eZCountryType.
Definition at line 647 of file ezdatatype.php.
Referenced by preStoreDefinedClassAttribute().
| eZDataType::preStoreDefinedClassAttribute | ( | $ | classAttribute | ) |
Reimplemented in eZIdentifierType.
Definition at line 677 of file ezdatatype.php.
| eZDataType::productOptionInformation | ( | $ | objectAttribute, |
| $ | optionID, | ||
| $ | productItem | ||
| ) |
Fetches the product option information for option with ID $optionID and returns this information. This will be called from the basket when a new product with an option is added, it is then up to the specific datatype to return proper data. It will also be used to recalcuate prices.
| $objectAttribute | The attribute that the datatype controls. |
| $optionID | The ID of the option which information should be returned from. |
| $productItem | The product item object which contains the option, is available for reading only. |
false if no price is used. If the option could not be found it should return false, if not supported it should return null. Reimplemented in eZMultiOption2Type, eZMultiOptionType, eZOptionType, and eZRangeOptionType.
Definition at line 451 of file ezdatatype.php.
| static eZDataType::register | ( | $ | dataTypeString, |
| $ | className | ||
| ) | [static] |
Registers the datatype with string id $dataTypeString and class name $className. The class name is used for instantiating the class and should be in lowercase letters.
Definition at line 209 of file ezdatatype.php.
| static eZDataType::registeredDataTypes | ( | ) | [static] |
Definition at line 183 of file ezdatatype.php.
| eZDataType::removeRelatedObjectItem | ( | $ | contentObjectAttribute, |
| $ | objectID | ||
| ) |
Removes objects with given ID from the relations list
Reimplemented in eZObjectRelationListType, and eZObjectRelationType.
Definition at line 1255 of file ezdatatype.php.
| eZDataType::repairContentObjectAttribute | ( | $ | contentObjectAttribute | ) |
Tries to do a repair on the content object attribute $contentObjectAttribute and returns true if it succeeds.
false if it fails or null if it is not supported to do a repair. Definition at line 838 of file ezdatatype.php.
| eZDataType::resultTemplate | ( | &$ | collectionAttribute | ) |
Definition at line 145 of file ezdatatype.php.
| eZDataType::serializeContentClassAttribute | ( | $ | classAttribute, |
| $ | attributeNode, | ||
| $ | attributeParametersNode | ||
| ) |
Adds the necessary dom structure to the attribute parameters.
Reimplemented in eZObjectRelationListType, eZMediaType, eZMultiOption2Type, eZBinaryFileType, eZObjectRelationType, eZXMLTextType, eZDateTimeType, eZEnumType, eZImageType, eZMatrixType, eZIntegerType, eZIniSettingType, eZMultiOptionType, eZSelectionType, eZIdentifierType, eZOptionType, eZMultiPriceType, eZFloatType, eZTimeType, eZStringType, eZDateType, eZPriceType, eZTextType, eZRangeOptionType, eZBooleanType, and eZPackageType.
Definition at line 1060 of file ezdatatype.php.
| eZDataType::serializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute | ||
| ) |
| package | |
| objectAttribute | content attribute |
Reimplemented in eZObjectRelationListType, eZMediaType, eZBinaryFileType, eZMultiOption2Type, eZIniSettingType, eZDateTimeType, eZObjectRelationType, eZXMLTextType, eZMatrixType, eZImageType, eZUserType, eZMultiOptionType, eZMultiPriceType, eZEnumType, eZTimeType, eZOptionType, eZDateType, eZURLType, eZAuthorType, eZKeywordType, eZRangeOptionType, and eZSubtreeSubscriptionType.
Definition at line 1081 of file ezdatatype.php.
| eZDataType::sortKey | ( | $ | objectAttribute | ) |
Reimplemented in eZDateTimeType, eZIntegerType, eZCountryType, eZSelectionType, eZObjectRelationType, eZIdentifierType, eZStringType, eZDateType, eZEmailType, eZTimeType, eZPackageType, eZPriceType, eZBooleanType, and eZProductCategoryType.
Definition at line 994 of file ezdatatype.php.
| eZDataType::sortKeyType | ( | ) |
Reimplemented in eZDateTimeType, eZCountryType, eZIntegerType, eZSelectionType, eZObjectRelationType, eZIdentifierType, eZStringType, eZDateType, eZEmailType, eZTimeType, eZPackageType, eZPriceType, eZBooleanType, and eZProductCategoryType.
Definition at line 1003 of file ezdatatype.php.
| eZDataType::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 in eZMediaType, eZFloatType, eZEnumType, eZIntegerType, eZStringType, eZURLType, eZKeywordType, and eZMatrixType.
Definition at line 664 of file ezdatatype.php.
| eZDataType::storeDefinedClassAttribute | ( | $ | classAttribute | ) |
Reimplemented in eZMediaType, eZEnumType, eZStringType, eZURLType, and eZKeywordType.
Definition at line 673 of file ezdatatype.php.
| eZDataType::storedFileInformation | ( | $ | object, |
| $ | objectVersion, | ||
| $ | objectLanguage, | ||
| $ | objectAttribute | ||
| ) |
Returns file information for the filed stored by the attribute.
| $object | The contentobject in which the attribute is contained |
| $objectVersion | The current version of the object it is being worked on |
| $objectLanguage | The current language being worked on |
| $objectAttribute | The attribute which stored the file |
false (default) if no information could be found. The structure must contain:The structure can contain:
Reimplemented in eZMediaType, eZBinaryFileType, and eZImageType.
Definition at line 428 of file ezdatatype.php.
| eZDataType::storeObjectAttribute | ( | $ | objectAttribute | ) |
Stores the datatype data to the database which is related to the object attribute.
Reimplemented in eZMediaType, eZBinaryFileType, eZObjectRelationListType, eZISBNType, eZCountryType, eZXMLTextType, eZIntegerType, eZImageType, eZUserType, eZEnumType, eZStringType, eZURLType, eZFloatType, eZEmailType, eZObjectRelationType, eZTextType, eZMultiOptionType, eZOptionType, eZRangeOptionType, eZAuthorType, eZKeywordType, eZPackageType, eZMultiPriceType, eZPriceType, eZIdentifierType, eZMatrixType, eZMultiOption2Type, and eZBooleanType.
Definition at line 622 of file ezdatatype.php.
| eZDataType::supportsBatchInitializeObjectAttribute | ( | ) |
Reimplemented in eZObjectRelationListType, eZMediaType, eZXMLTextType, eZBinaryFileType, eZMultiOption2Type, eZObjectRelationType, eZDateTimeType, eZImageType, eZMultiPriceType, eZMatrixType, eZIntegerType, eZCountryType, eZSelectionType, eZOptionType, eZISBNType, eZTimeType, eZFloatType, eZURLType, eZStringType, eZDateType, eZPriceType, eZAuthorType, eZKeywordType, eZRangeOptionType, eZTextType, eZBooleanType, eZEmailType, and eZProductCategoryType.
Definition at line 1411 of file ezdatatype.php.
| eZDataType::templateList | ( | ) |
Can be called to figure out if a datatype has certain special templates that it relies on. This can for instance be used to figure out which override templates to include in a package.
false is returned it means there are no relations to any templates. Reimplemented in eZXMLTextType.
Definition at line 1050 of file ezdatatype.php.
| eZDataType::title | ( | $ | objectAttribute, |
| $ | name = null |
||
| ) |
Returns the title of the current type, this is to form the title of the object.
Reimplemented in eZObjectRelationListType, eZMediaType, eZBinaryFileType, eZObjectRelationType, eZDateTimeType, eZXMLTextType, eZIniSettingType, eZImageType, eZIntegerType, eZISBNType, eZCountryType, eZSelectionType, eZEnumType, eZFloatType, eZTimeType, eZMultiOptionType, eZStringType, eZMultiPriceType, eZDateType, eZOptionType, eZAuthorType, eZUserType, eZURLType, eZKeywordType, eZTextType, eZMatrixType, eZBooleanType, eZIdentifierType, eZEmailType, eZPriceType, eZProductCategoryType, eZPackageType, and eZRangeOptionType.
Definition at line 916 of file ezdatatype.php.
| eZDataType::toString | ( | $ | objectAttribute | ) |
Reimplemented in eZObjectRelationListType, eZMediaType, eZBinaryFileType, eZIniSettingType, eZImageType, eZObjectRelationType, eZXMLTextType, eZMatrixType, eZIntegerType, eZUserType, eZISBNType, eZCountryType, eZMultiOptionType, eZFloatType, eZOptionType, eZSelectionType, eZMultiPriceType, eZDateTimeType, eZStringType, eZDateType, eZKeywordType, eZURLType, eZTimeType, eZPriceType, eZTextType, eZEmailType, eZAuthorType, eZBooleanType, eZProductCategoryType, eZRangeOptionType, eZSubtreeSubscriptionType, and eZIdentifierType.
Definition at line 1030 of file ezdatatype.php.
| eZDataType::trashStoredObjectAttribute | ( | $ | objectAttribute, |
| $ | version = null |
||
| ) |
Do any necessary changes to stored object attribute when moving an object to trash.
Reimplemented in eZBinaryFileType, eZMediaType, and eZImageType.
Definition at line 862 of file ezdatatype.php.
| eZDataType::unserializeContentClassAttribute | ( | $ | classAttribute, |
| $ | attributeNode, | ||
| $ | attributeParametersNode | ||
| ) |
Extracts values from the attribute parameters and sets it in the class attribute.
Reimplemented in eZObjectRelationListType, eZMediaType, eZMultiOption2Type, eZBinaryFileType, eZObjectRelationType, eZDateTimeType, eZXMLTextType, eZEnumType, eZMatrixType, eZImageType, eZIntegerType, eZIniSettingType, eZMultiOptionType, eZSelectionType, eZIdentifierType, eZMultiPriceType, eZOptionType, eZFloatType, eZTimeType, eZStringType, eZDateType, eZPriceType, eZTextType, eZRangeOptionType, eZBooleanType, and eZPackageType.
Definition at line 1071 of file ezdatatype.php.
| eZDataType::unserializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute, | ||
| $ | attributeNode | ||
| ) |
Unserialize contentobject attribute
| package | |
| objectAttribute | contentobject attribute object |
| attributeNode | ezdomnode object |
Reimplemented in eZObjectRelationListType, eZMediaType, eZBinaryFileType, eZMultiOption2Type, eZIniSettingType, eZXMLTextType, eZDateTimeType, eZObjectRelationType, eZMatrixType, eZImageType, eZUserType, eZMultiOptionType, eZMultiPriceType, eZEnumType, eZTimeType, eZOptionType, eZDateType, eZURLType, eZAuthorType, eZKeywordType, eZRangeOptionType, and eZSubtreeSubscriptionType.
Definition at line 1134 of file ezdatatype.php.
| eZDataType::validateAddToBasket | ( | $ | objectAttribute, |
| $ | data, | ||
| &$ | errors | ||
| ) |
Validates the input for an object attribute during add to basket process and returns a validation state as defined in eZInputValidator.
Reimplemented in eZMultiOption2Type.
Definition at line 941 of file ezdatatype.php.
| eZDataType::validateClassAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | classAttribute | ||
| ) |
Validates the input for a class attribute and returns a validation state as defined in eZInputValidator.
Reimplemented in eZMediaType, eZObjectRelationListType, eZIntegerType, eZEnumType, eZFloatType, eZStringType, eZURLType, eZObjectRelationType, eZKeywordType, eZIdentifierType, eZIniSettingType, and eZSelectionType.
Definition at line 687 of file ezdatatype.php.
| eZDataType::validateCollectionAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | objectAttribute | ||
| ) |
Validates the input for an object attribute and returns a validation state as defined in eZInputValidator.
Reimplemented in eZCountryType, eZIntegerType, eZSelectionType, eZDateTimeType, eZDateType, eZStringType, eZTimeType, eZEmailType, eZTextType, eZBooleanType, and eZOptionType.
Definition at line 767 of file ezdatatype.php.
| eZDataType::validateObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | objectAttribute | ||
| ) |
Validates the input for an object attribute and returns a validation state as defined in eZInputValidator.
Reimplemented in eZBinaryFileType, eZXMLTextType, eZEnumType, eZCountryType, eZMediaType, eZSelectionType, eZImageType, eZIntegerType, eZFloatType, eZStringType, eZDateTimeType, eZTextType, eZURLType, eZKeywordType, eZBooleanType, eZEmailType, eZIdentifierType, eZOptionType, eZMultiOption2Type, eZUserType, eZDateType, eZIniSettingType, eZMultiOptionType, eZProductCategoryType, eZObjectRelationType, eZPackageType, eZTimeType, eZMatrixType, eZObjectRelationListType, eZMultiPriceType, eZPriceType, eZRangeOptionType, eZISBNType, and eZAuthorType.
Definition at line 740 of file ezdatatype.php.
| eZDataType::viewTemplate | ( | $ | contentobjectAttribute | ) |
Reimplemented in eZXMLTextType, and eZBinaryFileType.
Definition at line 105 of file ezdatatype.php.
| eZDataType::$DataTypeString |
The datatype string ID, used for uniquely identifying a datatype.
Definition at line 1418 of file ezdatatype.php.
| eZDataType::$Name |
The descriptive name of the datatype, usually used for displaying to the user.
Definition at line 1420 of file ezdatatype.php.