|
eZ Publish
[4.2]
|
Stores a date value. More...
Inheritance diagram for eZDateType:
Collaboration diagram for eZDateType:Public Member Functions | |
| batchInitializeObjectAttributeData ($classAttribute) | |
| eZDateType () | |
| fetchClassAttributeHTTPInput ($http, $base, $classAttribute) | |
| fetchCollectionAttributeHTTPInput ($collection, $collectionAttribute, $http, $base, $contentObjectAttribute) | |
| fetchObjectAttributeHTTPInput ($http, $base, $contentObjectAttribute) | |
| fromString ($contentObjectAttribute, $string) | |
| hasObjectAttributeContent ($contentObjectAttribute) | |
| initializeClassAttribute ($classAttribute) | |
| initializeObjectAttribute ($contentObjectAttribute, $currentVersion, $originalContentObjectAttribute) | |
| isIndexable () | |
| isInformationCollector () | |
| metaData ($contentObjectAttribute) | |
| objectAttributeContent ($contentObjectAttribute) | |
| serializeContentClassAttribute ($classAttribute, $attributeNode, $attributeParametersNode) | |
| serializeContentObjectAttribute ($package, $objectAttribute) | |
| sortKey ($contentObjectAttribute) | |
| sortKeyType () | |
| supportsBatchInitializeObjectAttribute () | |
| title ($contentObjectAttribute, $name=null) | |
| toString ($contentObjectAttribute) | |
| unserializeContentClassAttribute ($classAttribute, $attributeNode, $attributeParametersNode) | |
| unserializeContentObjectAttribute ($package, $objectAttribute, $attributeNode) | |
| validateCollectionAttributeHTTPInput ($http, $base, $contentObjectAttribute) | |
| validateDateTimeHTTPInput ($day, $month, $year, $contentObjectAttribute) | |
| validateObjectAttributeHTTPInput ($http, $base, $contentObjectAttribute) | |
Public Attributes | |
| const | DATA_TYPE_STRING = "ezdate" |
| const | DEFAULT_CURRENT_DATE = 1 |
| const | DEFAULT_EMTPY = 0 |
| const | DEFAULT_FIELD = 'data_int1' |
Stores a date value.
Definition at line 38 of file ezdatetype.php.
| eZDateType::batchInitializeObjectAttributeData | ( | $ | classAttribute | ) |
Reimplemented from eZDataType.
Definition at line 382 of file ezdatetype.php.
| eZDateType::eZDateType | ( | ) |
Definition at line 48 of file ezdatetype.php.
| eZDateType::fetchClassAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | classAttribute | ||
| ) |
Fetches the HTTP input for the content class attribute.
Reimplemented from eZDataType.
Definition at line 247 of file ezdatetype.php.
| eZDateType::fetchCollectionAttributeHTTPInput | ( | $ | collection, |
| $ | collectionAttribute, | ||
| $ | http, | ||
| $ | base, | ||
| $ | contentObjectAttribute | ||
| ) |
Fetches the http post variables for collected information
Reimplemented from eZDataType.
Definition at line 177 of file ezdatetype.php.
| eZDateType::fetchObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | contentObjectAttribute | ||
| ) |
Fetches the http post var integer input and stores it in the data instance.
Reimplemented from eZDataType.
Definition at line 112 of file ezdatetype.php.
| eZDateType::fromString | ( | $ | contentObjectAttribute, |
| $ | string | ||
| ) |
Reimplemented from eZDataType.
Definition at line 285 of file ezdatetype.php.
| eZDateType::hasObjectAttributeContent | ( | $ | contentObjectAttribute | ) |
true if the datatype finds any content in the attribute $contentObjectAttribute. Reimplemented from eZDataType.
Definition at line 300 of file ezdatetype.php.
| eZDateType::initializeClassAttribute | ( | $ | classAttribute | ) |
Set class attribute value for template version
Reimplemented from eZDataType.
Definition at line 221 of file ezdatetype.php.
| eZDateType::initializeObjectAttribute | ( | $ | contentObjectAttribute, |
| $ | currentVersion, | ||
| $ | originalContentObjectAttribute | ||
| ) |
Sets the default value.
Reimplemented from eZDataType.
Definition at line 231 of file ezdatetype.php.
| eZDateType::isIndexable | ( | ) |
Reimplemented from eZDataType.
Definition at line 258 of file ezdatetype.php.
| eZDateType::isInformationCollector | ( | ) |
Reimplemented from eZDataType.
Definition at line 263 of file ezdatetype.php.
| eZDateType::metaData | ( | $ | contentObjectAttribute | ) |
Returns the meta data used for storing search indeces.
Reimplemented from eZDataType.
Definition at line 271 of file ezdatetype.php.
| eZDateType::objectAttributeContent | ( | $ | contentObjectAttribute | ) |
| eZDateType::serializeContentClassAttribute | ( | $ | classAttribute, |
| $ | attributeNode, | ||
| $ | attributeParametersNode | ||
| ) |
Adds the necessary dom structure to the attribute parameters.
Reimplemented from eZDataType.
Definition at line 315 of file ezdatetype.php.
| eZDateType::serializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute | ||
| ) |
| package | |
| objectAttribute | content attribute |
Reimplemented from eZDataType.
Definition at line 351 of file ezdatetype.php.
| eZDateType::sortKey | ( | $ | objectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 305 of file ezdatetype.php.
| eZDateType::sortKeyType | ( | ) |
Reimplemented from eZDataType.
Definition at line 310 of file ezdatetype.php.
| eZDateType::supportsBatchInitializeObjectAttribute | ( | ) |
Reimplemented from eZDataType.
Definition at line 377 of file ezdatetype.php.
| eZDateType::title | ( | $ | contentObjectAttribute, |
| $ | name = null |
||
| ) |
| eZDateType::toString | ( | $ | contentObjectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 280 of file ezdatetype.php.
| eZDateType::unserializeContentClassAttribute | ( | $ | classAttribute, |
| $ | attributeNode, | ||
| $ | attributeParametersNode | ||
| ) |
Extracts values from the attribute parameters and sets it in the class attribute.
Reimplemented from eZDataType.
Definition at line 334 of file ezdatetype.php.
| eZDateType::unserializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute, | ||
| $ | attributeNode | ||
| ) |
Unserialize contentobject attribute
| package | |
| objectAttribute | contentobject attribute object |
| attributeNode | ezdomnode object |
Reimplemented from eZDataType.
Definition at line 367 of file ezdatetype.php.
| eZDateType::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 142 of file ezdatetype.php.
| eZDateType::validateDateTimeHTTPInput | ( | $ | day, |
| $ | month, | ||
| $ | year, | ||
| $ | contentObjectAttribute | ||
| ) |
Definition at line 55 of file ezdatetype.php.
Referenced by validateCollectionAttributeHTTPInput(), and validateObjectAttributeHTTPInput().
| eZDateType::validateObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | contentObjectAttribute | ||
| ) |
Validates the input and returns true if the input was valid for this datatype.
Reimplemented from eZDataType.
Definition at line 70 of file ezdatetype.php.
| const eZDateType::DATA_TYPE_STRING = "ezdate" |
Definition at line 40 of file ezdatetype.php.
| const eZDateType::DEFAULT_CURRENT_DATE = 1 |
Definition at line 46 of file ezdatetype.php.
| const eZDateType::DEFAULT_EMTPY = 0 |
Definition at line 44 of file ezdatetype.php.
| const eZDateType::DEFAULT_FIELD = 'data_int1' |
Definition at line 42 of file ezdatetype.php.