eZPublish  4.5
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 ()
 
 dataType ()
 
 eZInformationCollectionAttribute ($row)
 
 hasContent ()
 
 resultTemplateName ()
 
- Public Member Functions inherited from eZPersistentObject
 attribute ($attr, $noFunction=false)
 
 attributes ()
 
 eZPersistentObject ($row)
 
 fill ($row)
 
 hasAttribute ($attr)
 
 hasDirtyData ()
 
 remove ($conditions=null, $extraConditions=null)
 
 setAttribute ($attr, $val)
 
 setHasDirtyData ($hasDirtyData)
 
 store ($fieldFilters=null)
 
 sync ($fieldFilters=null)
 

Static Public Member Functions

static cleanup ()
 
static create ($informationCollectionID)
 
static definition ()
 
static fetchByObjectAttributeID ($id, $contentobjectAttributeID, $asObject=true)
 
- Static Public Member Functions inherited from eZPersistentObject
static conditionText ($conditions)
 
static conditionTextByRow ($conditions, $row)
 
static count ($def, $conds=null, $field=null)
 
static definition ()
 
static escapeArray ($array)
 
static fetchObject ($def, $field_filters, $conds, $asObject=true, $grouping=null, $custom_fields=null)
 
static fetchObjectList ($def, $field_filters=null, $conds=null, $sorts=null, $limit=null, $asObject=true, $grouping=false, $custom_fields=null, $custom_tables=null, $custom_conds=null)
 
static getShortAttributeName ($db, $def, $attrName)
 
static handleRows ($rows, $class_name, $asObject)
 
static newObjectOrder ($def, $orderField, $conditions)
 
static removeObject ($def, $conditions=null, $extraConditions=null)
 
static reorderObject ($def, $orderField, $conditions, $down=true)
 
static swapRow ($table, $keys, $order_id, $rows, $id1, $id2)
 
static updateObjectList ($parameters)
 

Public Attributes

 $Content
 
- Public Attributes inherited from eZPersistentObject
 $PersistentDataDirty
 Whether the data is dirty, ie needs to be stored, or not. More...
 

Detailed Description

The class eZInformationCollectionAttribute handles collected attribute information.

Member Function Documentation

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

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.

Referenced by eZInformationCollection\cleanup().

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

Referenced by classContent(), and dataType().

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

Referenced by contentObjectAttribute().

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

Creates a new eZInformationCollectionAttribute instance.

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

Referenced by fetchByObjectAttributeID().

eZInformationCollectionAttribute::eZInformationCollectionAttribute (   $row)

Referenced by create().

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

Fetches the information collection by object attribute ID.

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

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

Member Data Documentation

eZInformationCollectionAttribute::$Content

Referenced by content().


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