|
eZ Publish
[trunk]
|
A content datatype which handles urls. More...
Inheritance diagram for eZURLType:
Collaboration diagram for eZURLType:Public Member Functions | |
| deleteStoredObjectAttribute ($contentObjectAttribute, $version=null) | |
| eZURLType () | |
| fetchObjectAttributeHTTPInput ($http, $base, $contentObjectAttribute) | |
| fromString ($contentObjectAttribute, $string) | |
| hasObjectAttributeContent ($contentObjectAttribute) | |
| initializeObjectAttribute ($contentObjectAttribute, $currentVersion, $originalContentObjectAttribute) | |
| metaData ($contentObjectAttribute) | |
| objectAttributeContent ($contentObjectAttribute) | |
| postStore ($objectAttribute) | |
| serializeContentObjectAttribute ($package, $objectAttribute) | |
| storeClassAttribute ($attribute, $version) | |
| storeDefinedClassAttribute ($attribute) | |
| storeObjectAttribute ($attribute) | |
| supportsBatchInitializeObjectAttribute () | |
| title ($contentObjectAttribute, $name=null) | |
| toString ($contentObjectAttribute) | |
| unserializeContentObjectAttribute ($package, $objectAttribute, $attributeNode) | |
| validateClassAttributeHTTPInput ($http, $base, $classAttribute) | |
| validateObjectAttributeHTTPInput ($http, $base, $contentObjectAttribute) | |
Public Attributes | |
| const | DATA_TYPE_STRING = 'ezurl' |
A content datatype which handles urls.
Definition at line 19 of file ezurltype.php.
| eZURLType::deleteStoredObjectAttribute | ( | $ | objectAttribute, |
| $ | version = null |
||
| ) |
Clean up stored object attribute
Reimplemented from eZDataType.
Definition at line 89 of file ezurltype.php.
Initializes with a url id and a description.
Definition at line 26 of file ezurltype.php.
| eZURLType::fetchObjectAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | contentObjectAttribute | ||
| ) |
Fetches the http post var url input and stores it in the data instance.
Reimplemented from eZDataType.
Definition at line 122 of file ezurltype.php.
| eZURLType::fromString | ( | $ | contentObjectAttribute, |
| $ | string | ||
| ) |
Reimplemented from eZDataType.
Definition at line 263 of file ezurltype.php.
| eZURLType::hasObjectAttributeContent | ( | $ | contentObjectAttribute | ) |
true if the datatype finds any content in the attribute $contentObjectAttribute. Reimplemented from eZDataType.
Definition at line 212 of file ezurltype.php.
| eZURLType::initializeObjectAttribute | ( | $ | contentObjectAttribute, |
| $ | currentVersion, | ||
| $ | originalContentObjectAttribute | ||
| ) |
| eZURLType::metaData | ( | $ | contentObjectAttribute | ) |
Returns the meta data used for storing search indeces.
Reimplemented from eZDataType.
Definition at line 228 of file ezurltype.php.
| eZURLType::objectAttributeContent | ( | $ | contentObjectAttribute | ) |
| eZURLType::postStore | ( | $ | objectAttribute | ) |
Makes some post-store operations. Called by framework after store of eZContentObjectAttribute object.
Reimplemented from eZDataType.
Definition at line 142 of file ezurltype.php.
| eZURLType::serializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute | ||
| ) |
| package | |
| content | attribute |
Reimplemented from eZDataType.
Definition at line 302 of file ezurltype.php.
| eZURLType::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 from eZDataType.
Definition at line 184 of file ezurltype.php.
| eZURLType::storeDefinedClassAttribute | ( | $ | classAttribute | ) |
| eZContentClassAttribute | $classAttribute | Content class attribute of the datatype |
Reimplemented from eZDataType.
Definition at line 188 of file ezurltype.php.
| eZURLType::storeObjectAttribute | ( | $ | attribute | ) |
Store the URL in the URL database and store the reference to it.
Reimplemented from eZDataType.
Definition at line 164 of file ezurltype.php.
Reimplemented from eZDataType.
Definition at line 366 of file ezurltype.php.
| eZURLType::title | ( | $ | contentObjectAttribute, |
| $ | name = null |
||
| ) |
Returns the content of the url for use as a title
Reimplemented from eZDataType.
Definition at line 236 of file ezurltype.php.
| eZURLType::toString | ( | $ | objectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 241 of file ezurltype.php.
| eZURLType::unserializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute, | ||
| $ | attributeNode | ||
| ) |
| package | |
| contentobject | attribute object |
| domnode | object |
Reimplemented from eZDataType.
Definition at line 336 of file ezurltype.php.
| eZURLType::validateClassAttributeHTTPInput | ( | $ | http, |
| $ | base, | ||
| $ | classAttribute | ||
| ) |
Validates the input for a class attribute and returns a validation state as defined in eZInputValidator.
Reimplemented from eZDataType.
Definition at line 192 of file ezurltype.php.
| eZURLType::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 ezurltype.php.
| const eZURLType::DATA_TYPE_STRING = 'ezurl' |
Definition at line 21 of file ezurltype.php.