Property | Type | Description | |
---|---|---|---|
$dbHandler | Database handler. |
Method | Description | |
---|---|---|
__construct ( eZ\Publish\Core\Persistence\Database\DatabaseHandler $dbHandler ) | Creates a new DoctrineDatabase 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 ( integer $identifier ) : string[][] | Loads data for section with $identifier. | |
updateSection ( integer $id, string $name, string $identifier ) | Updates section with $id to have $name and $identifier. |
public __construct ( eZ\Publish\Core\Persistence\Database\DatabaseHandler $dbHandler ) | ||
$dbHandler | eZ\Publish\Core\Persistence\Database\DatabaseHandler |
public assignSectionToContent ( integer $sectionId, integer $contentId ) | ||
$sectionId | integer | |
$contentId | integer |
public countContentObjectsInSection ( integer $id ) : integer | ||
$id | integer | |
return | integer |
public countPoliciesUsingSection ( integer $id ) : integer | ||
$id | integer | |
return | integer |
public countRoleAssignmentsUsingSection ( integer $id ) : integer | ||
$id | integer | |
return | integer |
public deleteSection ( integer $id ) | ||
$id | integer |
public loadAllSectionData ( ) : string[][] | ||
return | string[][] |
public loadSectionData ( integer $id ) : string[][] | ||
$id | integer | |
return | string[][] |
public loadSectionDataByIdentifier ( integer $identifier ) : string[][] | ||
$identifier | integer | |
return | string[][] |