eZ Publish  [4.2]
eZEmailType Class Reference

Stores an email address. More...

+ Inheritance diagram for eZEmailType:
+ Collaboration diagram for eZEmailType:

List of all members.

Public Member Functions

 eZEmailType ()
 fetchCollectionAttributeHTTPInput ($collection, $collectionAttribute, $http, $base, $contentObjectAttribute)
 fetchObjectAttributeHTTPInput ($http, $base, $contentObjectAttribute)
 fromString ($contentObjectAttribute, $string)
 hasObjectAttributeContent ($contentObjectAttribute)
 initializeObjectAttribute ($contentObjectAttribute, $currentVersion, $originalContentObjectAttribute)
 isIndexable ()
 isInformationCollector ()
 metaData ($contentObjectAttribute)
 objectAttributeContent ($contentObjectAttribute)
 sortKey ($contentObjectAttribute)
 sortKeyType ()
 storeObjectAttribute ($attribute)
 supportsBatchInitializeObjectAttribute ()
 title ($contentObjectAttribute, $name=null)
 toString ($contentObjectAttribute)
 validateCollectionAttributeHTTPInput ($http, $base, $contentObjectAttribute)
 validateEMailHTTPInput ($email, $contentObjectAttribute)
 validateObjectAttributeHTTPInput ($http, $base, $contentObjectAttribute)

Public Attributes

const DATA_TYPE_STRING = "ezemail"

Detailed Description

Stores an email address.

Definition at line 37 of file ezemailtype.php.


Member Function Documentation

eZEmailType::eZEmailType ( )

Definition at line 41 of file ezemailtype.php.

eZEmailType::fetchCollectionAttributeHTTPInput ( collection,
collectionAttribute,
http,
base,
contentObjectAttribute 
)

Fetches the http post variables for collected information

Reimplemented from eZDataType.

Definition at line 161 of file ezemailtype.php.

eZEmailType::fetchObjectAttributeHTTPInput ( http,
base,
contentObjectAttribute 
)

Fetches the http post var string input and stores it in the data instance.

Reimplemented from eZDataType.

Definition at line 116 of file ezemailtype.php.

eZEmailType::fromString ( contentObjectAttribute,
string 
)

Reimplemented from eZDataType.

Definition at line 209 of file ezemailtype.php.

eZEmailType::hasObjectAttributeContent ( contentObjectAttribute)
Returns:
true if the datatype finds any content in the attribute $contentObjectAttribute.

Reimplemented from eZDataType.

Definition at line 222 of file ezemailtype.php.

eZEmailType::initializeObjectAttribute ( contentObjectAttribute,
currentVersion,
originalContentObjectAttribute 
)

Sets the default value.

Reimplemented from eZDataType.

Definition at line 51 of file ezemailtype.php.

eZEmailType::isIndexable ( )
Returns:
true if the datatype can be indexed

Reimplemented from eZDataType.

Definition at line 187 of file ezemailtype.php.

eZEmailType::isInformationCollector ( )
Returns:
true if the datatype can be used as an information collector

Reimplemented from eZDataType.

Definition at line 227 of file ezemailtype.php.

eZEmailType::metaData ( contentObjectAttribute)

Returns the meta data used for storing search indeces.

Reimplemented from eZDataType.

Definition at line 195 of file ezemailtype.php.

eZEmailType::objectAttributeContent ( contentObjectAttribute)

Returns the content.

Reimplemented from eZDataType.

Definition at line 182 of file ezemailtype.php.

eZEmailType::sortKey ( objectAttribute)
Returns:
the sort key for the datatype. This is used for sorting on attribute level.

Reimplemented from eZDataType.

Definition at line 232 of file ezemailtype.php.

eZEmailType::sortKeyType ( )
Returns:
the type of the sort key int|string False is returned if sorting is not supported

Reimplemented from eZDataType.

Definition at line 237 of file ezemailtype.php.

eZEmailType::storeObjectAttribute ( attribute)

Store the content.

Reimplemented from eZDataType.

Definition at line 175 of file ezemailtype.php.

eZEmailType::supportsBatchInitializeObjectAttribute ( )

Reimplemented from eZDataType.

Definition at line 242 of file ezemailtype.php.

eZEmailType::title ( contentObjectAttribute,
name = null 
)

Returns the text.

Reimplemented from eZDataType.

Definition at line 217 of file ezemailtype.php.

eZEmailType::toString ( contentObjectAttribute)
Returns:
string representation of an contentobjectattribute data for simplified export

Reimplemented from eZDataType.

Definition at line 204 of file ezemailtype.php.

eZEmailType::validateCollectionAttributeHTTPInput ( http,
base,
objectAttribute 
)

Validates the input for an object attribute and returns a validation state as defined in eZInputValidator.

Note:
Default implementation does nothing and returns accepted.

Reimplemented from eZDataType.

Definition at line 127 of file ezemailtype.php.

eZEmailType::validateEMailHTTPInput ( email,
contentObjectAttribute 
)
eZEmailType::validateObjectAttributeHTTPInput ( http,
base,
contentObjectAttribute 
)

Validates the input and returns true if the input was valid for this datatype.

Reimplemented from eZDataType.

Definition at line 78 of file ezemailtype.php.


Member Data Documentation

const eZEmailType::DATA_TYPE_STRING = "ezemail"

Definition at line 39 of file ezemailtype.php.


The documentation for this class was generated from the following file: