eZSection Class Reference

eZSection handles grouping of content in Exponential More...

Inheritance diagram for eZSection:

eZPersistentObject List of all members.

Public Methods

definition ()
fetch ($sectionID,$asObject=true)
 attribute ($attr)
 hasAttribute ($attr)
 initGlobalID ()
 setGlobalID ($sectionID)
 globalID ()
 remove ()

Detailed Description

eZSection handles grouping of content in Exponential

Definition at line ezsection.php.


Member Function Documentation

eZSection::attribute   attr
 

Returns:
the attribute data for $attr, this is either returned from the member variables or a member function depending on whether the definition field or function attributes matched.

Reimplemented from eZPersistentObject.

Definition at line ezsection.php.

References eZPersistentObject::attribute().

& eZSection::definition  
 

Returns:
the persistent object definition for the eZCard class.

Reimplemented from eZPersistentObject.

Definition at line ezsection.php.

Referenced by remove().

& eZSection::fetch   sectionID,
  asObject = true
 

Returns:
the section object with the given id.

Definition at line ezsection.php.

References eZPersistentObject::fetchObject().

eZSection::globalID  
 

Returns:
the global section ID or null if it is not set yet.

Definition at line ezsection.php.

References eZHTTPTool::sessionVariable().

eZSection::hasAttribute   attr
 

Returns:
true if the attribute $attr is part of the definition fields or function attributes.

Reimplemented from eZPersistentObject.

Definition at line ezsection.php.

References eZPersistentObject::hasAttribute().

eZSection::initGlobalID  
 

Makes sure the global section ID is propagated to the template override key.

Definition at line ezsection.php.

References eZHTTPTool::sessionVariable().

eZSection::remove  
 

Will remove the current section from the database.

Definition at line ezsection.php.

References eZPersistentObject::removeObject().

eZSection::setGlobalID   sectionID
 

Sets the current global section ID to $sectionID in the session and the template override key.

Definition at line ezsection.php.

References eZHTTPTool::sessionVariable().


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

Exponential