|
eZ Publish
[4.2]
|
Stores a time value. More...
Inheritance diagram for eZTimeType:
Collaboration diagram for eZTimeType:Public Member Functions | |
| batchInitializeObjectAttributeData ($classAttribute) | |
| eZTimeType () | |
| 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) | |
| 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) | |
| validateObjectAttributeHTTPInput ($http, $base, $contentObjectAttribute) | |
| validateTimeHTTPInput ($hours, $minute, $second, $contentObjectAttribute) | |
Public Attributes | |
| const | DATA_TYPE_STRING = "eztime" |
| const | DEFAULT_CURRENT_DATE = 1 |
| const | DEFAULT_EMTPY = 0 |
| const | DEFAULT_FIELD = 'data_int1' |
| const | USE_SECONDS_FIELD = 'data_int2' |
Stores a time value.
Definition at line 37 of file eztimetype.php.
| eZTimeType::batchInitializeObjectAttributeData | ( | $ | classAttribute | ) |
Reimplemented from eZDataType.
Definition at line 450 of file eztimetype.php.
| eZTimeType::eZTimeType | ( | ) |
Definition at line 45 of file eztimetype.php.
| eZTimeType::fetchClassAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | classAttribute | ||
| ) |
Fetches the HTTP input for the content class attribute.
Reimplemented from eZDataType.
Definition at line 310 of file eztimetype.php.
| eZTimeType::fetchCollectionAttributeHTTPInput | ( | $ | collection, |
| $ | collectionAttribute, | ||
| $ | http, | ||
| $ | base, | ||
| $ | contentObjectAttribute | ||
| ) |
Fetches the http post variables for collected information
Reimplemented from eZDataType.
Definition at line 173 of file eztimetype.php.
| eZTimeType::fetchObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | objectAttribute | ||
| ) |
Fetches the HTTP input for the content object attribute.
Reimplemented from eZDataType.
Definition at line 108 of file eztimetype.php.
| eZTimeType::fromString | ( | $ | contentObjectAttribute, |
| $ | string | ||
| ) |
Reimplemented from eZDataType.
Definition at line 253 of file eztimetype.php.
| eZTimeType::hasObjectAttributeContent | ( | $ | contentObjectAttribute | ) |
true if the datatype finds any content in the attribute $contentObjectAttribute. Reimplemented from eZDataType.
Definition at line 350 of file eztimetype.php.
| eZTimeType::initializeClassAttribute | ( | $ | classAttribute | ) |
Set class attribute value for template version
Reimplemented from eZDataType.
Definition at line 280 of file eztimetype.php.
| eZTimeType::initializeObjectAttribute | ( | $ | contentObjectAttribute, |
| $ | currentVersion, | ||
| $ | originalContentObjectAttribute | ||
| ) |
Sets the default value.
Reimplemented from eZDataType.
Definition at line 290 of file eztimetype.php.
| eZTimeType::isInformationCollector | ( | ) |
Reimplemented from eZDataType.
Definition at line 272 of file eztimetype.php.
| eZTimeType::metaData | ( | $ | contentObjectAttribute | ) |
Returns the meta data used for storing search indeces.
Reimplemented from eZDataType.
Definition at line 329 of file eztimetype.php.
| eZTimeType::objectAttributeContent | ( | $ | contentObjectAttribute | ) |
| eZTimeType::serializeContentClassAttribute | ( | $ | classAttribute, |
| $ | attributeNode, | ||
| $ | attributeParametersNode | ||
| ) |
Adds the necessary dom structure to the attribute parameters.
Reimplemented from eZDataType.
Definition at line 355 of file eztimetype.php.
| eZTimeType::serializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute | ||
| ) |
| package | |
| content | attribute |
Reimplemented from eZDataType.
Definition at line 408 of file eztimetype.php.
| eZTimeType::sortKey | ( | $ | objectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 221 of file eztimetype.php.
| eZTimeType::sortKeyType | ( | ) |
Reimplemented from eZDataType.
Definition at line 233 of file eztimetype.php.
| eZTimeType::supportsBatchInitializeObjectAttribute | ( | ) |
Reimplemented from eZDataType.
Definition at line 445 of file eztimetype.php.
| eZTimeType::title | ( | $ | contentObjectAttribute, |
| $ | name = null |
||
| ) |
| eZTimeType::toString | ( | $ | contentObjectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 242 of file eztimetype.php.
| eZTimeType::unserializeContentClassAttribute | ( | $ | classAttribute, |
| $ | attributeNode, | ||
| $ | attributeParametersNode | ||
| ) |
Extracts values from the attribute parameters and sets it in the class attribute.
Reimplemented from eZDataType.
Definition at line 379 of file eztimetype.php.
| eZTimeType::unserializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute, | ||
| $ | attributeNode | ||
| ) |
| package | |
| contentobject | attribute object |
| ezdomnode | object |
Reimplemented from eZDataType.
Definition at line 429 of file eztimetype.php.
| eZTimeType::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 136 of file eztimetype.php.
| eZTimeType::validateObjectAttributeHTTPInput | ( | $ | 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 66 of file eztimetype.php.
| eZTimeType::validateTimeHTTPInput | ( | $ | hours, |
| $ | minute, | ||
| $ | second, | ||
| $ | contentObjectAttribute | ||
| ) |
Private method only for use inside this class
Definition at line 54 of file eztimetype.php.
Referenced by validateCollectionAttributeHTTPInput(), and validateObjectAttributeHTTPInput().
| const eZTimeType::DATA_TYPE_STRING = "eztime" |
Definition at line 39 of file eztimetype.php.
| const eZTimeType::DEFAULT_CURRENT_DATE = 1 |
Definition at line 43 of file eztimetype.php.
| const eZTimeType::DEFAULT_EMTPY = 0 |
Definition at line 42 of file eztimetype.php.
| const eZTimeType::DEFAULT_FIELD = 'data_int1' |
Definition at line 40 of file eztimetype.php.
| const eZTimeType::USE_SECONDS_FIELD = 'data_int2' |
Definition at line 41 of file eztimetype.php.