eZ Publish  [trunk]
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 18 of file ezemailtype.php.


Member Function Documentation

Definition at line 22 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 142 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 97 of file ezemailtype.php.

eZEmailType::fromString ( contentObjectAttribute,
string 
)

Reimplemented from eZDataType.

Definition at line 190 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 203 of file ezemailtype.php.

eZEmailType::initializeObjectAttribute ( contentObjectAttribute,
currentVersion,
originalContentObjectAttribute 
)

Sets the default value.

Reimplemented from eZDataType.

Definition at line 32 of file ezemailtype.php.

Returns:
true if the datatype can be indexed

Reimplemented from eZDataType.

Definition at line 168 of file ezemailtype.php.

Returns:
true if the datatype can be used as an information collector

Reimplemented from eZDataType.

Definition at line 208 of file ezemailtype.php.

eZEmailType::metaData ( contentObjectAttribute)

Returns the meta data used for storing search indeces.

Reimplemented from eZDataType.

Definition at line 176 of file ezemailtype.php.

eZEmailType::objectAttributeContent ( contentObjectAttribute)

Returns the content.

Reimplemented from eZDataType.

Definition at line 163 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 213 of file ezemailtype.php.

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

Reimplemented from eZDataType.

Definition at line 218 of file ezemailtype.php.

Store the content.

Reimplemented from eZDataType.

Definition at line 156 of file ezemailtype.php.

Reimplemented from eZDataType.

Definition at line 223 of file ezemailtype.php.

eZEmailType::title ( contentObjectAttribute,
name = null 
)

Returns the text.

Reimplemented from eZDataType.

Definition at line 198 of file ezemailtype.php.

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

Reimplemented from eZDataType.

Definition at line 185 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 108 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 59 of file ezemailtype.php.


Member Data Documentation

const eZEmailType::DATA_TYPE_STRING = "ezemail"

Definition at line 20 of file ezemailtype.php.


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