|
eZ Publish
[trunk]
|
Stores a text area value. More...
Inheritance diagram for eZTextType:
Collaboration diagram for eZTextType:Public Member Functions | |
| diff ($old, $new, $options=false) | |
| eZTextType () | |
| 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) | |
| insertSimpleString ($object, $objectVersion, $objectLanguage, $objectAttribute, $string, &$result) | |
| isIndexable () | |
| isInformationCollector () | |
| isSimpleStringInsertionSupported () | |
| metaData ($contentObjectAttribute) | |
| objectAttributeContent ($contentObjectAttribute) | |
| serializeContentClassAttribute ($classAttribute, $attributeNode, $attributeParametersNode) | |
| storeObjectAttribute ($attribute) | |
| supportsBatchInitializeObjectAttribute () | |
| title ($data_instance, $name=null) | |
| toString ($contentObjectAttribute) | |
| unserializeContentClassAttribute ($classAttribute, $attributeNode, $attributeParametersNode) | |
| validateCollectionAttributeHTTPInput ($http, $base, $contentObjectAttribute) | |
| validateObjectAttributeHTTPInput ($http, $base, $contentObjectAttribute) | |
Public Attributes | |
| const | COLS_FIELD = 'data_int1' |
| const | COLS_VARIABLE = '_eztext_cols_' |
| const | DATA_TYPE_STRING = "eztext" |
Stores a text area value.
Definition at line 18 of file eztexttype.php.
| eZTextType::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 from eZDataType.
Definition at line 250 of file eztexttype.php.
Definition at line 24 of file eztexttype.php.
| eZTextType::fetchClassAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | classAttribute | ||
| ) |
Fetches the HTTP input for the content class attribute.
Reimplemented from eZDataType.
Definition at line 177 of file eztexttype.php.
| eZTextType::fetchCollectionAttributeHTTPInput | ( | $ | collection, |
| $ | collectionAttribute, | ||
| $ | http, | ||
| $ | base, | ||
| $ | contentObjectAttribute | ||
| ) |
Fetches the http post variables for collected information
Reimplemented from eZDataType.
Definition at line 129 of file eztexttype.php.
| eZTextType::fetchObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | contentObjectAttribute | ||
| ) |
Fetches the http post var string input and stores it in the data instance.
Reimplemented from eZDataType.
Definition at line 115 of file eztexttype.php.
| eZTextType::fromString | ( | $ | contentObjectAttribute, |
| $ | string | ||
| ) |
Reimplemented from eZDataType.
Definition at line 206 of file eztexttype.php.
| eZTextType::hasObjectAttributeContent | ( | $ | contentObjectAttribute | ) |
true if the datatype finds any content in the attribute $contentObjectAttribute. Reimplemented from eZDataType.
Definition at line 211 of file eztexttype.php.
| eZTextType::initializeClassAttribute | ( | $ | classAttribute | ) |
Set class attribute value for template version
Reimplemented from eZDataType.
Definition at line 34 of file eztexttype.php.
| eZTextType::initializeObjectAttribute | ( | $ | contentObjectAttribute, |
| $ | currentVersion, | ||
| $ | originalContentObjectAttribute | ||
| ) |
Sets the default value.
Reimplemented from eZDataType.
Definition at line 44 of file eztexttype.php.
| eZTextType::insertSimpleString | ( | $ | object, |
| $ | objectVersion, | ||
| $ | objectLanguage, | ||
| $ | objectAttribute, | ||
| $ | string, | ||
| &$ | result | ||
| ) |
Inserts the string $string in the 'data_text' database field.
Reimplemented from eZDataType.
Definition at line 158 of file eztexttype.php.
Reimplemented from eZDataType.
Definition at line 224 of file eztexttype.php.
Reimplemented from eZDataType.
Definition at line 229 of file eztexttype.php.
Simple string insertion is supported.
Reimplemented from eZDataType.
Definition at line 150 of file eztexttype.php.
| eZTextType::metaData | ( | $ | contentObjectAttribute | ) |
Returns the meta data used for storing search indeces.
Reimplemented from eZDataType.
Definition at line 192 of file eztexttype.php.
| eZTextType::objectAttributeContent | ( | $ | contentObjectAttribute | ) |
| eZTextType::serializeContentClassAttribute | ( | $ | classAttribute, |
| $ | attributeNode, | ||
| $ | attributeParametersNode | ||
| ) |
Adds the necessary dom structure to the attribute parameters.
Reimplemented from eZDataType.
Definition at line 234 of file eztexttype.php.
| eZTextType::storeObjectAttribute | ( | $ | attribute | ) |
Reimplemented from eZDataType.
Definition at line 259 of file eztexttype.php.
| eZTextType::title | ( | $ | data_instance, |
| $ | name = null |
||
| ) |
| eZTextType::toString | ( | $ | contentObjectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 201 of file eztexttype.php.
| eZTextType::unserializeContentClassAttribute | ( | $ | classAttribute, |
| $ | attributeNode, | ||
| $ | attributeParametersNode | ||
| ) |
Extracts values from the attribute parameters and sets it in the class attribute.
Reimplemented from eZDataType.
Definition at line 244 of file eztexttype.php.
| eZTextType::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 90 of file eztexttype.php.
| eZTextType::validateObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | contentObjectAttribute | ||
| ) |
Validates the input and returns true if the input was valid for this datatype.
Reimplemented from eZDataType.
Definition at line 63 of file eztexttype.php.
| const eZTextType::COLS_FIELD = 'data_int1' |
Definition at line 21 of file eztexttype.php.
| const eZTextType::COLS_VARIABLE = '_eztext_cols_' |
Definition at line 22 of file eztexttype.php.
| const eZTextType::DATA_TYPE_STRING = "eztext" |
Definition at line 20 of file eztexttype.php.