eZ Publish  [4.2]
eZSection Class Reference

eZSection handles grouping of content in eZ Publish More...

+ Inheritance diagram for eZSection:
+ Collaboration diagram for eZSection:

List of all members.

Public Member Functions

 canBeRemoved ($sectionID=false)
 eZSection ($row)
 removeThis ($conditions=null, $extraConditions=null)

Static Public Member Functions

static definition ()
static fetch ($sectionID, $asObject=true)
static fetchByOffset ($offset, $limit, $asObject=true)
static fetchFilteredList ($conditions=null, $offset=false, $limit=false, $asObject=true)
static fetchList ($asObject=true)
static globalID ()
static initGlobalID ()
static sectionCount ()
static setGlobalID ($sectionID)

Detailed Description

eZSection handles grouping of content in eZ Publish

Definition at line 37 of file ezsection.php.


Member Function Documentation

eZSection::canBeRemoved ( sectionID = false)

Definition at line 220 of file ezsection.php.

static eZSection::definition ( ) [static]
Returns:
the persistent object definition for the eZSection class.

Reimplemented from eZPersistentObject.

Definition at line 51 of file ezsection.php.

Referenced by fetch(), fetchByOffset(), fetchFilteredList(), and fetchList().

eZSection::eZSection ( row)

Definition at line 39 of file ezsection.php.

static eZSection::fetch ( sectionID,
asObject = true 
) [static]
Returns:
the section object with the given id.

Definition at line 80 of file ezsection.php.

Referenced by eZNodeviewfunctions\generateNodeViewData().

static eZSection::fetchByOffset ( offset,
limit,
asObject = true 
) [static]

Definition at line 123 of file ezsection.php.

static eZSection::fetchFilteredList ( conditions = null,
offset = false,
limit = false,
asObject = true 
) [static]

Definition at line 104 of file ezsection.php.

Referenced by eZSiteInstaller\sectionIDbyName().

static eZSection::fetchList ( asObject = true) [static]

Definition at line 116 of file ezsection.php.

Referenced by eZApproveType\attribute(), and eZMultiplexerType\attribute().

static eZSection::globalID ( ) [static]
Returns:
the global section ID or null if it is not set yet.

Definition at line 195 of file ezsection.php.

static eZSection::initGlobalID ( ) [static]

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

Definition at line 148 of file ezsection.php.

eZSection::removeThis ( conditions = null,
extraConditions = null 
)

Will remove the current section from the database.

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 212 of file ezsection.php.

static eZSection::sectionCount ( ) [static]
Returns:
the number of active orders

Definition at line 137 of file ezsection.php.

static eZSection::setGlobalID ( sectionID) [static]

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

Definition at line 179 of file ezsection.php.

Referenced by eZNodeviewfunctions\contentViewRetrieve(), eZNodeviewfunctions\generateNodeViewData(), and eZContentCache\restore().


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