PHP Class eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway

Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Méthodes publiques

Méthode Description
assignSectionToContent ( integer $sectionId, integer $contentId ) Inserts the assignment of $contentId to $sectionId.
countContentObjectsInSection ( integer $id ) : integer Counts the number of content objects assigned to section with $id.
countPoliciesUsingSection ( integer $id ) : integer Counts the number of role policies using section with $id in their limitations.
countRoleAssignmentsUsingSection ( integer $id ) : integer Counts the number of role assignments using section with $id in their limitations.
deleteSection ( integer $id ) Deletes the Section with $id.
insertSection ( string $name, string $identifier ) : integer Inserts a new section with $name and $identifier.
loadAllSectionData ( ) : string[][] Loads data for all sections.
loadSectionData ( integer $id ) : string[][] Loads data for section with $id.
loadSectionDataByIdentifier ( string $identifier ) : string[][] Loads data for section with $identifier.
updateSection ( integer $id, string $name, string $identifier ) Updates section with $id to have $name and $identifier.

Method Details

assignSectionToContent() abstract public méthode

Inserts the assignment of $contentId to $sectionId.
abstract public assignSectionToContent ( integer $sectionId, integer $contentId )
$sectionId integer
$contentId integer

countContentObjectsInSection() abstract public méthode

Counts the number of content objects assigned to section with $id.
abstract public countContentObjectsInSection ( integer $id ) : integer
$id integer
Résultat integer

countPoliciesUsingSection() abstract public méthode

Counts the number of role policies using section with $id in their limitations.
abstract public countPoliciesUsingSection ( integer $id ) : integer
$id integer
Résultat integer

countRoleAssignmentsUsingSection() abstract public méthode

Counts the number of role assignments using section with $id in their limitations.
abstract public countRoleAssignmentsUsingSection ( integer $id ) : integer
$id integer
Résultat integer

deleteSection() abstract public méthode

Deletes the Section with $id.
abstract public deleteSection ( integer $id )
$id integer

insertSection() abstract public méthode

Inserts a new section with $name and $identifier.
abstract public insertSection ( string $name, string $identifier ) : integer
$name string
$identifier string
Résultat integer The ID of the new section

loadAllSectionData() abstract public méthode

Loads data for all sections.
abstract public loadAllSectionData ( ) : string[][]
Résultat string[][]

loadSectionData() abstract public méthode

Loads data for section with $id.
abstract public loadSectionData ( integer $id ) : string[][]
$id integer
Résultat string[][]

loadSectionDataByIdentifier() abstract public méthode

Loads data for section with $identifier.
abstract public loadSectionDataByIdentifier ( string $identifier ) : string[][]
$identifier string
Résultat string[][]

updateSection() abstract public méthode

Updates section with $id to have $name and $identifier.
abstract public updateSection ( integer $id, string $name, string $identifier )
$id integer
$name string
$identifier string