eZURLType Class Reference
[Kernel system]
A content datatype which handles urls.
More...
Inheritance diagram for eZURLType:
List of all members.
|
Public Methods |
| eZURLType () |
| initializeObjectAttribute (&$contentObjectAttribute,$currentVersion,&$originalContentObjectAttribute) |
| validateObjectAttributeHTTPInput (&$http,$base,&$contentObjectAttribute) |
| fetchObjectAttributeHTTPInput (&$http,$base,&$contentObjectAttribute) |
| storeObjectAttribute (&$attribute) |
| storeClassAttribute (&$attribute,$version) |
| storeDefinedClassAttribute (&$attribute) |
| validateClassAttributeHTTPInput (&$http,$base,&$classAttribute) |
| fixupClassAttributeHTTPInput (&$http,$base,&$classAttribute) |
| fetchClassAttributeHTTPInput (&$http,$base,&$classAttribute) |
& | objectAttributeContent (&$contentObjectAttribute) |
| metaData ($contentObjectAttribute) |
| title (&$contentObjectAttribute) |
Private Attributes |
| MaxLenValidator |
Detailed Description
A content datatype which handles urls.
Definition at line ezurltype.php.
Constructor & Destructor Documentation
Member Function Documentation
eZURLType::fetchClassAttributeHTTPInput |
( |
&$ |
http, |
|
|
$ |
base, |
|
|
&$ |
classAttribute |
|
) |
|
|
|
Reimplemented for internal reasons; the API is not affected.
Reimplemented from eZDataType.
Definition at line 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 ezurltype.php. |
eZURLType::fixupClassAttributeHTTPInput |
( |
&$ |
http, |
|
|
$ |
base, |
|
|
&$ |
classAttribute |
|
) |
|
|
|
Reimplemented for internal reasons; the API is not affected.
Reimplemented from eZDataType.
Definition at line ezurltype.php. |
eZURLType::initializeObjectAttribute |
( |
&$ |
contentObjectAttribute, |
|
|
$ |
currentVersion, |
|
|
&$ |
originalContentObjectAttribute |
|
) |
|
|
eZURLType::metaData |
( |
$ |
contentObjectAttribute |
) |
|
|
|
Returns the meta data used for storing search indeces.
Definition at line ezurltype.php. |
& eZURLType::objectAttributeContent |
( |
&$ |
contentObjectAttribute |
) |
|
|
eZURLType::storeClassAttribute |
( |
&$ |
attribute, |
|
|
$ |
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. - Returns:
-
True if the value was stored correctly.
- Note:
-
The method is entirely up to the datatype, for instance it could reuse the available types in the the attribute or store in a separate object.
- See also:
-
fetchClassAttributeHTTPInput
Reimplemented from eZDataType.
Definition at line ezurltype.php.
References eZDataType::attribute(). |
eZURLType::storeObjectAttribute |
( |
&$ |
attribute |
) |
|
|
eZURLType::title |
( |
&$ |
contentObjectAttribute |
) |
|
|
|
Returns the content of the url for use as a title
Definition at line ezurltype.php. |
eZURLType::validateClassAttributeHTTPInput |
( |
&$ |
http, |
|
|
$ |
base, |
|
|
&$ |
classAttribute |
|
) |
|
|
|
Reimplemented for internal reasons; the API is not affected.
Reimplemented from eZDataType.
Definition at line 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 ezurltype.php. |
Member Data Documentation
eZURLType::MaxLenValidator [private]
|
|
The documentation for this class was generated from the following file:
|