eZPublish  3.8
eZInformationCollectionAttribute Class Reference

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

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

Public Member Functions

classContent ()
content ()
contentClassAttribute ()
contentClassAttributeName ()
contentObject ()
contentObjectAttribute ()
 create ($informationCollectionID)
 dataType ()
 definition ()
 eZInformationCollectionAttribute ($row)
hasContent ()
resultTemplateName ()
- Public Member Functions inherited from eZPersistentObject
attribute ($attr, $noFunction=false)
 attributes ()
 conditionText (&$conditions)
conditionTextByRow (&$conditions, &$row)
 definition ()
escapeArray (&$array)
 eZPersistentObject ($row)
 fetchObject (&$def, $field_filters, $conds, $asObject=true, $grouping=null, $custom_fields=null)
 fetchObjectList (&$def, $field_filters=null, $conds=null, $sorts=null, $limit=null, $asObject=true, $grouping=false, $custom_fields=null)
 fill (&$row)
 getShortAttributeName (&$db, &$def, $attrName)
 handleRows (&$rows, $class_name, $asObject)
 hasAttribute ($attr)
 hasDirtyData ()
 newObjectOrder (&$def, $orderField, $conditions)
 remove ($conditions=null, $extraConditions=null)
 removeObject (&$def, $conditions=null, $extraConditions=null)
 reorderObject (&$def, $orderField, $conditions, $down=true)
 setAttribute ($attr, $val)
 setHasDirtyData ($hasDirtyData)
 store ($fieldFilters=null)
 swapRow ($table, &$keys, &$order_id, &$rows, $id1, $id2)
 sync ($fieldFilters=null)
 updateObjectList ($parameters)

Static Public Member Functions

 cleanup ()
 fetchByObjectAttributeID ($id, $contentobjectAttributeID, $asObject=true)

Public Attributes


Detailed Description

The class eZInformationCollectionAttribute handles collected attribute information.

Member Function Documentation

& eZInformationCollectionAttribute::classContent ( )
the content for the contentclass attribute which defines this information collection attribute.
eZInformationCollectionAttribute::cleanup ( )

Removes all attributes for collected information.

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.

Referenced by eZInformationCollection\cleanup().

& eZInformationCollectionAttribute::content ( )
the content for this attribute.
& eZInformationCollectionAttribute::contentClassAttribute ( )

Referenced by classContent(), and dataType().

& eZInformationCollectionAttribute::contentClassAttributeName ( )
& eZInformationCollectionAttribute::contentObject ( )

Referenced by contentObjectAttribute().

& eZInformationCollectionAttribute::contentObjectAttribute ( )
eZInformationCollectionAttribute::create (   $informationCollectionID)

Creates a new eZInformationCollectionAttribute instance.

eZInformationCollectionAttribute::dataType ( )
eZInformationCollectionAttribute::definition ( )
the persistent object definition for the eZInformationCollectionAttribute class.

Referenced by fetchByObjectAttributeID().

eZInformationCollectionAttribute::eZInformationCollectionAttribute (   $row)

Referenced by create().

eZInformationCollectionAttribute::fetchByObjectAttributeID (   $id,
  $asObject = true 

Fetches the information collection by object attribute ID.

& eZInformationCollectionAttribute::hasContent ( )
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.

& eZInformationCollectionAttribute::resultTemplateName ( )
the template name to use for viewing the attribute
The returned template name does not include the .tpl extension.
See Also

Member Data Documentation


Referenced by content().

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