|
eZ Publish
[trunk]
|
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 18 of file eztimetype.php.
| eZTimeType::batchInitializeObjectAttributeData | ( | $ | classAttribute | ) |
Reimplemented from eZDataType.
Definition at line 431 of file eztimetype.php.
Definition at line 26 of file eztimetype.php.
| eZTimeType::fetchClassAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | classAttribute | ||
| ) |
Fetches the HTTP input for the content class attribute.
Reimplemented from eZDataType.
Definition at line 291 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 154 of file eztimetype.php.
| eZTimeType::fetchObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | objectAttribute | ||
| ) |
Fetches the HTTP input for the content object attribute.
Reimplemented from eZDataType.
Definition at line 89 of file eztimetype.php.
| eZTimeType::fromString | ( | $ | contentObjectAttribute, |
| $ | string | ||
| ) |
Reimplemented from eZDataType.
Definition at line 234 of file eztimetype.php.
| eZTimeType::hasObjectAttributeContent | ( | $ | contentObjectAttribute | ) |
true if the datatype finds any content in the attribute $contentObjectAttribute. Reimplemented from eZDataType.
Definition at line 331 of file eztimetype.php.
| eZTimeType::initializeClassAttribute | ( | $ | classAttribute | ) |
Set class attribute value for template version
Reimplemented from eZDataType.
Definition at line 261 of file eztimetype.php.
| eZTimeType::initializeObjectAttribute | ( | $ | contentObjectAttribute, |
| $ | currentVersion, | ||
| $ | originalContentObjectAttribute | ||
| ) |
Sets the default value.
Reimplemented from eZDataType.
Definition at line 271 of file eztimetype.php.
Reimplemented from eZDataType.
Definition at line 253 of file eztimetype.php.
| eZTimeType::metaData | ( | $ | contentObjectAttribute | ) |
Returns the meta data used for storing search indeces.
Reimplemented from eZDataType.
Definition at line 310 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 336 of file eztimetype.php.
| eZTimeType::serializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute | ||
| ) |
| package | |
| content | attribute |
Reimplemented from eZDataType.
Definition at line 389 of file eztimetype.php.
| eZTimeType::sortKey | ( | $ | objectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 202 of file eztimetype.php.
Reimplemented from eZDataType.
Definition at line 214 of file eztimetype.php.
Reimplemented from eZDataType.
Definition at line 426 of file eztimetype.php.
| eZTimeType::title | ( | $ | contentObjectAttribute, |
| $ | name = null |
||
| ) |
| eZTimeType::toString | ( | $ | contentObjectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 223 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 360 of file eztimetype.php.
| eZTimeType::unserializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute, | ||
| $ | attributeNode | ||
| ) |
| package | |
| contentobject | attribute object |
| ezdomnode | object |
Reimplemented from eZDataType.
Definition at line 410 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 117 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 47 of file eztimetype.php.
| eZTimeType::validateTimeHTTPInput | ( | $ | hours, |
| $ | minute, | ||
| $ | second, | ||
| $ | contentObjectAttribute | ||
| ) |
Private method only for use inside this class
Definition at line 35 of file eztimetype.php.
Referenced by validateCollectionAttributeHTTPInput(), and validateObjectAttributeHTTPInput().
| const eZTimeType::DATA_TYPE_STRING = "eztime" |
Definition at line 20 of file eztimetype.php.
| const eZTimeType::DEFAULT_CURRENT_DATE = 1 |
Definition at line 24 of file eztimetype.php.
| const eZTimeType::DEFAULT_EMTPY = 0 |
Definition at line 23 of file eztimetype.php.
| const eZTimeType::DEFAULT_FIELD = 'data_int1' |
Definition at line 21 of file eztimetype.php.
| const eZTimeType::USE_SECONDS_FIELD = 'data_int2' |
Definition at line 22 of file eztimetype.php.