eZ Publish  [trunk]
eZInformationCollectionAttribute Class Reference

The class eZInformationCollectionAttribute handles collected attribute information. More...

+ Inheritance diagram for eZInformationCollectionAttribute:
+ Collaboration diagram for eZInformationCollectionAttribute:

List of all members.

Public Member Functions

 classContent ()
 content ()
 contentClassAttribute ()
 contentClassAttributeName ()
 contentObject ()
 contentObjectAttribute ()
 dataType ()
 eZInformationCollectionAttribute ($row)
 hasContent ()
 resultTemplateName ()

Static Public Member Functions

static cleanup ()
static create ($informationCollectionID)
static definition ()
static fetchByObjectAttributeID ($id, $contentobjectAttributeID, $asObject=true)

Public Attributes

 $Content

Detailed Description

The class eZInformationCollectionAttribute handles collected attribute information.

Definition at line 18 of file ezinformationcollectionattribute.php.


Member Function Documentation

Returns:
the content for the contentclass attribute which defines this information collection attribute.

Definition at line 92 of file ezinformationcollectionattribute.php.

Removes all attributes for collected information.

Note:
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Definition at line 208 of file ezinformationcollectionattribute.php.

Returns:
the content for this attribute.

Definition at line 105 of file ezinformationcollectionattribute.php.

static eZInformationCollectionAttribute::create ( informationCollectionID) [static]

Creates a new eZInformationCollectionAttribute instance.

Definition at line 183 of file ezinformationcollectionattribute.php.

Returns:
the persistent object definition for the eZInformationCollectionAttribute class.

Reimplemented from eZPersistentObject.

Definition at line 29 of file ezinformationcollectionattribute.php.

Referenced by fetchByObjectAttributeID().

static eZInformationCollectionAttribute::fetchByObjectAttributeID ( id,
contentobjectAttributeID,
asObject = true 
) [static]

Fetches the information collection by object attribute ID.

Definition at line 193 of file ezinformationcollectionattribute.php.

Returns:
true if the attribute is considered to have any content at all (ie. non-empty).

It will call the hasObjectAttributeContent() for the current datatype to figure this out.

Definition at line 123 of file ezinformationcollectionattribute.php.

Returns:
the template name to use for viewing the attribute
Note:
The returned template name does not include the .tpl extension.
See also:
informationTemplate

Definition at line 138 of file ezinformationcollectionattribute.php.


Member Data Documentation

eZInformationCollectionAttribute::$Content

Definition at line 215 of file ezinformationcollectionattribute.php.


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