eZPublishCommunityProject  2012.12
eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway Class Reference

Section Handler. More...

+ Inheritance diagram for eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway:

Public Member Functions

 assignSectionToContent ($sectionId, $contentId)
 Inserts the assignment of $contentId to $sectionId. More...
 
 countContentObjectsInSection ($id)
 Counts the number of content objects assigned to section with $id. More...
 
 deleteSection ($id)
 Deletes the Section with $id. More...
 
 insertSection ($name, $identifier)
 Inserts a new section with $name and $identifier. More...
 
 loadAllSectionData ()
 Loads data for all sections. More...
 
 loadSectionData ($id)
 Loads data for section with $id. More...
 
 loadSectionDataByIdentifier ($identifier)
 Loads data for section with $identifier. More...
 
 updateSection ($id, $name, $identifier)
 Updates section with $id to have $name and $identifier. More...
 

Detailed Description

Member Function Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway::assignSectionToContent (   $sectionId,
  $contentId 
)
abstract

Inserts the assignment of $contentId to $sectionId.

Parameters
int$sectionId
int$contentId
Returns
void
eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway::countContentObjectsInSection (   $id)
abstract

Counts the number of content objects assigned to section with $id.

Parameters
int$id
Returns
int
eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway::deleteSection (   $id)
abstract

Deletes the Section with $id.

Parameters
int$id
Returns
void
eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway::insertSection (   $name,
  $identifier 
)
abstract

Inserts a new section with $name and $identifier.

Parameters
string$name
string$identifier
Returns
int The ID of the new section
eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway::loadAllSectionData ( )
abstract

Loads data for all sections.

Returns
string[][]
eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway::loadSectionData (   $id)
abstract

Loads data for section with $id.

Parameters
int$id
Returns
string[][]
eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway::loadSectionDataByIdentifier (   $identifier)
abstract

Loads data for section with $identifier.

Parameters
string$identifier
Returns
string[][]
eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway::updateSection (   $id,
  $name,
  $identifier 
)
abstract

Updates section with $id to have $name and $identifier.

Parameters
int$id
string$name
string$identifier
Returns
void

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