프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$sectionService | eZ\Publish\API\Repository\SectionService | Section service. |
메소드 | 설명 | |
---|---|---|
__construct ( eZ\Publish\API\Repository\SectionService $sectionService ) | Construct controller. | |
createSection ( |
Create new section. | |
deleteSection ( $sectionId ) : eZ\Publish\Core\REST\Server\Values\NoContent | Delete a section by ID. | |
listSections ( |
List sections. | |
loadSection ( $sectionId ) : eZ\Publish\API\Repository\Values\Content\Section | Loads a section. | |
loadSectionByIdentifier ( |
Loads section by identifier. | |
updateSection ( $sectionId, |
Updates a section. |
메소드 | 설명 | |
---|---|---|
mapToUpdateStruct ( eZ\Publish\API\Repository\Values\Content\SectionCreateStruct $createStruct ) : eZ\Publish\API\Repository\Values\Content\SectionUpdateStruct | Maps a SectionCreateStruct to a SectionUpdateStruct. |
public __construct ( eZ\Publish\API\Repository\SectionService $sectionService ) | ||
$sectionService | eZ\Publish\API\Repository\SectionService |
public createSection ( |
||
$request | ||
리턴 |
public deleteSection ( $sectionId ) : eZ\Publish\Core\REST\Server\Values\NoContent | ||
$sectionId | ||
리턴 | eZ\Publish\Core\REST\Server\Values\NoContent |
public listSections ( |
||
$request | ||
리턴 |
public loadSection ( $sectionId ) : eZ\Publish\API\Repository\Values\Content\Section | ||
$sectionId | ||
리턴 | eZ\Publish\API\Repository\Values\Content\Section |
public loadSectionByIdentifier ( |
||
$request | ||
리턴 | eZ\Publish\API\Repository\Values\Content\Section |
protected mapToUpdateStruct ( eZ\Publish\API\Repository\Values\Content\SectionCreateStruct $createStruct ) : eZ\Publish\API\Repository\Values\Content\SectionUpdateStruct | ||
$createStruct | eZ\Publish\API\Repository\Values\Content\SectionCreateStruct | |
리턴 | eZ\Publish\API\Repository\Values\Content\SectionUpdateStruct |
public updateSection ( $sectionId, |
||
$sectionId | ||
$request | ||
리턴 | eZ\Publish\API\Repository\Values\Content\Section |