eZIntegerType Class Reference
[Kernel system]
A content datatype which handles integers.
More...
Inheritance diagram for eZIntegerType:
TODO — Image not available in archive
Title: eZIntegerType Class Inheritance Diagram
ID: class-diagram-eZIntegerType
In: sdk/ref/view/class/eZIntegerType.html
What this image shows:
Doxygen-generated class inheritance diagram for eZIntegerType. Shows the class hierarchy: which classes eZIntegerType extends and which classes inherit from it, rendered as a linked image map. The image was generated from the Exponential 3.1 PHP source code using Doxygen circa 2003 and was not captured by the Wayback Machine crawler (replaced with a 1×1 transparent spacer).
Replacement instructions:
Run Doxygen on the Exponential 3.1 PHP source (class eZIntegerType). Place the generated PNG as the img src and retain the
List of all members.
|
Public Methods |
| | validateObjectAttributeHTTPInput (&$http,$base,&$contentObjectAttribute) |
| | fixupObjectAttributeHTTPInput (&$http,$base,&$contentObjectAttribute) |
| | initializeObjectAttribute (&$contentObjectAttribute,$currentVersion,&$originalContentObjectAttribute) |
| | fetchObjectAttributeHTTPInput (&$http,$base,&$contentObjectAttribute) |
| | storeObjectAttribute (&$object_attribute) |
| | storeClassAttribute (&$attribute,$version) |
| | validateClassAttributeHTTPInput (&$http,$base,&$classAttribute) |
| | fixupClassAttributeHTTPInput (&$http,$base,&$classAttribute) |
| | fetchClassAttributeHTTPInput (&$http,$base,&$classAttribute) |
| & | objectAttributeContent (&$contentObjectAttribute) |
| | metaData ($contentObjectAttribute) |
| | title (&$contentObjectAttribute) |
| | isIndexable () |
| & | serializeContentObjectAttribute ($objectAttribute) |
Private Attributes |
| | IntegerValidator |
Detailed Description
A content datatype which handles integers.
It provides the functionality to work as an integer and handles class definition input, object definition input and object viewing.
It uses the spare field data_int in a content object attribute for storing the attribute data.
Definition at line ezintegertype.php.
Member Function Documentation
| eZIntegerType::fetchClassAttributeHTTPInput |
( |
&$ |
http, |
|
|
$ |
base, |
|
|
&$ |
classAttribute |
|
) |
|
|
| eZIntegerType::fetchObjectAttributeHTTPInput |
( |
&$ |
http, |
|
|
$ |
base, |
|
|
&$ |
contentObjectAttribute |
|
) |
|
|
|
|
Fetches the http post var integer input and stores it in the data instance.
Reimplemented from eZDataType.
Definition at line ezintegertype.php. |
| eZIntegerType::fixupClassAttributeHTTPInput |
( |
&$ |
http, |
|
|
$ |
base, |
|
|
&$ |
classAttribute |
|
) |
|
|
| eZIntegerType::fixupObjectAttributeHTTPInput |
( |
&$ |
http, |
|
|
$ |
base, |
|
|
&$ |
contentObjectAttribute |
|
) |
|
|
|
|
Tries to do a fixup on the input text so that it's acceptable as object attribute input. - Note:
-
Default implementation does nothing.
Reimplemented from eZDataType.
Definition at line ezintegertype.php. |
| eZIntegerType::initializeObjectAttribute |
( |
&$ |
contentObjectAttribute, |
|
|
$ |
currentVersion, |
|
|
&$ |
originalContentObjectAttribute |
|
) |
|
|
| eZIntegerType::isIndexable |
( |
|
) |
|
|
| eZIntegerType::metaData |
( |
$ |
contentObjectAttribute |
) |
|
|
|
|
Returns the meta data used for storing search indeces.
Definition at line ezintegertype.php. |
| & eZIntegerType::objectAttributeContent |
( |
&$ |
contentObjectAttribute |
) |
|
|
| & eZIntegerType::serializeContentObjectAttribute |
( |
$ |
objectAttribute |
) |
|
|
| eZIntegerType::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 ezintegertype.php.
References eZDebug::writeWarning(). |
| eZIntegerType::storeObjectAttribute |
( |
&$ |
object_attribute |
) |
|
|
| eZIntegerType::title |
( |
&$ |
contentObjectAttribute |
) |
|
|
| eZIntegerType::validateClassAttributeHTTPInput |
( |
&$ |
http, |
|
|
$ |
base, |
|
|
&$ |
classAttribute |
|
) |
|
|
| eZIntegerType::validateObjectAttributeHTTPInput |
( |
&$ |
http, |
|
|
$ |
base, |
|
|
&$ |
contentObjectAttribute |
|
) |
|
|
Member Data Documentation
eZIntegerType::IntegerValidator [private]
|
|
The documentation for this class was generated from the following file:
|