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

Section Handler. More...

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

Public Member Functions

 __construct (Gateway $innerGateway)
 Creates a new exception conversion gateway around $innerGateway. More...
 
 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...
 
- Public Member Functions inherited from eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway
 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...
 

Protected Attributes

 $innerGateway
 

Detailed Description

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway\ExceptionConversion::__construct ( Gateway  $innerGateway)

Creates a new exception conversion gateway around $innerGateway.

Parameters
Gateway$innerGateway

Member Function Documentation

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

Inserts the assignment of $contentId to $sectionId.

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

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

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

Deletes the Section with $id.

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

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\ExceptionConversion::loadAllSectionData ( )

Loads data for all sections.

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

Loads data for section with $id.

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

Loads data for section with $identifier.

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

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

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

Member Data Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway\ExceptionConversion::$innerGateway
protected

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