|
eZ Publish
[4.2]
|
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 39 of file ezurltype.php.
| eZURLType::deleteStoredObjectAttribute | ( | $ | objectAttribute, |
| $ | version = null |
||
| ) |
Clean up stored object attribute
Reimplemented from eZDataType.
Definition at line 109 of file ezurltype.php.
| eZURLType::eZURLType | ( | ) |
Initializes with a url id and a description.
Definition at line 46 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 142 of file ezurltype.php.
| eZURLType::fromString | ( | $ | contentObjectAttribute, |
| $ | string | ||
| ) |
Reimplemented from eZDataType.
Definition at line 283 of file ezurltype.php.
| eZURLType::hasObjectAttributeContent | ( | $ | contentObjectAttribute | ) |
true if the datatype finds any content in the attribute $contentObjectAttribute. Reimplemented from eZDataType.
Definition at line 232 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 248 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 162 of file ezurltype.php.
| eZURLType::serializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute | ||
| ) |
| package | |
| content | attribute |
Reimplemented from eZDataType.
Definition at line 322 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 204 of file ezurltype.php.
| eZURLType::storeDefinedClassAttribute | ( | $ | classAttribute | ) |
Reimplemented from eZDataType.
Definition at line 208 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 184 of file ezurltype.php.
| eZURLType::supportsBatchInitializeObjectAttribute | ( | ) |
Reimplemented from eZDataType.
Definition at line 386 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 256 of file ezurltype.php.
| eZURLType::toString | ( | $ | objectAttribute | ) |
Reimplemented from eZDataType.
Definition at line 261 of file ezurltype.php.
| eZURLType::unserializeContentObjectAttribute | ( | $ | package, |
| $ | objectAttribute, | ||
| $ | attributeNode | ||
| ) |
| package | |
| contentobject | attribute object |
| domnode | object |
Reimplemented from eZDataType.
Definition at line 356 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 212 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 83 of file ezurltype.php.
| const eZURLType::DATA_TYPE_STRING = 'ezurl' |
Definition at line 41 of file ezurltype.php.