eZ Publish  [trunk]
eZProductCategoryType Class Reference

Stores product category. More...

+ Inheritance diagram for eZProductCategoryType:
+ Collaboration diagram for eZProductCategoryType:

List of all members.

Public Member Functions

 batchInitializeObjectAttributeData ($classAttribute)
 diff ($old, $new, $options=null)
 eZProductCategoryType ()
 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 ()
 supportsBatchInitializeObjectAttribute ()
 title ($contentObjectAttribute, $name=null)
 toString ($contentObjectAttribute)
 validateObjectAttributeHTTPInput ($http, $base, $contentObjectAttribute)

Public Attributes

const DATA_TYPE_STRING = "ezproductcategory"

Detailed Description

Stores product category.

Definition at line 18 of file ezproductcategorytype.php.


Member Function Documentation

Reimplemented from eZDataType.

Definition at line 206 of file ezproductcategorytype.php.

eZProductCategoryType::diff ( old,
new,
options = null 
)

Method used by content diff system to retrieve changes in attributes. This method implements the default behaviour, which is to show old and new version values of the object.

Reimplemented from eZDataType.

Definition at line 196 of file ezproductcategorytype.php.

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

Fetches the http post variable for collected information

Reimplemented from eZDataType.

Definition at line 90 of file ezproductcategorytype.php.

eZProductCategoryType::fetchObjectAttributeHTTPInput ( http,
base,
contentObjectAttribute 
)

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

Reimplemented from eZDataType.

Definition at line 70 of file ezproductcategorytype.php.

eZProductCategoryType::fromString ( contentObjectAttribute,
string 
)

Reimplemented from eZDataType.

Definition at line 158 of file ezproductcategorytype.php.

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

Reimplemented from eZDataType.

Definition at line 141 of file ezproductcategorytype.php.

eZProductCategoryType::initializeObjectAttribute ( contentObjectAttribute,
currentVersion,
originalContentObjectAttribute 
)

Sets the default value.

Reimplemented from eZDataType.

Definition at line 32 of file ezproductcategorytype.php.

Returns:
true if the datatype can be indexed

Reimplemented from eZDataType.

Definition at line 112 of file ezproductcategorytype.php.

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

Reimplemented from eZDataType.

Definition at line 117 of file ezproductcategorytype.php.

eZProductCategoryType::metaData ( contentObjectAttribute)
Returns:
the text which should be indexed in the search engine. An associative array can be returned to enable searching in specific parts of the data. E.g. array( 'first_column' => "foo", 'second_column' => "bar" );

Reimplemented from eZDataType.

Definition at line 107 of file ezproductcategorytype.php.

eZProductCategoryType::objectAttributeContent ( contentObjectAttribute)

Returns the content.

Reimplemented from eZDataType.

Definition at line 135 of file ezproductcategorytype.php.

Referenced by hasObjectAttributeContent().

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

Reimplemented from eZDataType.

Definition at line 122 of file ezproductcategorytype.php.

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

Reimplemented from eZDataType.

Definition at line 127 of file ezproductcategorytype.php.

eZProductCategoryType::title ( contentObjectAttribute,
name = null 
)

Returns the integer value.

Reimplemented from eZDataType.

Definition at line 189 of file ezproductcategorytype.php.

eZProductCategoryType::toString ( objectAttribute)
Returns:
string representation of an contentobjectattribute data for simplified export

Reimplemented from eZDataType.

Definition at line 147 of file ezproductcategorytype.php.

eZProductCategoryType::validateObjectAttributeHTTPInput ( http,
base,
contentObjectAttribute 
)

Validates the http post var.

Reimplemented from eZDataType.

Definition at line 49 of file ezproductcategorytype.php.


Member Data Documentation

const eZProductCategoryType::DATA_TYPE_STRING = "ezproductcategory"

Definition at line 20 of file ezproductcategorytype.php.


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