PHP Класс eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

assignSectionToContent() абстрактный публичный Метод

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

countContentObjectsInSection() абстрактный публичный Метод

Counts the number of content objects assigned to section with $id.
abstract public countContentObjectsInSection ( integer $id ) : integer
$id integer
Результат integer

countPoliciesUsingSection() абстрактный публичный Метод

Counts the number of role policies using section with $id in their limitations.
abstract public countPoliciesUsingSection ( integer $id ) : integer
$id integer
Результат integer

countRoleAssignmentsUsingSection() абстрактный публичный Метод

Counts the number of role assignments using section with $id in their limitations.
abstract public countRoleAssignmentsUsingSection ( integer $id ) : integer
$id integer
Результат integer

deleteSection() абстрактный публичный Метод

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

insertSection() абстрактный публичный Метод

Inserts a new section with $name and $identifier.
abstract public insertSection ( string $name, string $identifier ) : integer
$name string
$identifier string
Результат integer The ID of the new section

loadAllSectionData() абстрактный публичный Метод

Loads data for all sections.
abstract public loadAllSectionData ( ) : string[][]
Результат string[][]

loadSectionData() абстрактный публичный Метод

Loads data for section with $id.
abstract public loadSectionData ( integer $id ) : string[][]
$id integer
Результат string[][]

loadSectionDataByIdentifier() абстрактный публичный Метод

Loads data for section with $identifier.
abstract public loadSectionDataByIdentifier ( string $identifier ) : string[][]
$identifier string
Результат string[][]

updateSection() абстрактный публичный Метод

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