메소드 | 설명 | |
---|---|---|
deleteSectionAction ( $id ) : Response | ||
getSectionAction ( integer $id ) : array | Get single Section. | |
getSectionsAction ( |
List all Sections. | |
newSectionAction ( ) : Symfony\Component\Form\FormTypeInterface | Presents the form to use to create a new Section. | |
patchSectionAction ( |
Update existing journal_section from the submitted data or create a new journal_section at a specific location. | |
postSectionAction ( |
Create a Section from the submitted data. | |
putSectionAction ( |
Update existing Section from the submitted data or create a new Section at a specific location. |
메소드 | 설명 | |
---|---|---|
getOr404 ( mixed $id ) : Ojs\JournalBundle\Entity\Section | Fetch a Section or throw an 404 Exception. |
public getSectionAction ( integer $id ) : array | ||
$id | integer | the Section id |
리턴 | array |
public getSectionsAction ( |
||
$request | the request object | |
$paramFetcher | FOS\RestBundle\Request\ParamFetcherInterface | param fetcher service |
리턴 | array |
public newSectionAction ( ) : Symfony\Component\Form\FormTypeInterface | ||
리턴 | Symfony\Component\Form\FormTypeInterface |
public patchSectionAction ( |
||
$request | the request object | |
$id | integer | the journal_section id |
리턴 | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public postSectionAction ( |
||
$request | the request object | |
리턴 | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public putSectionAction ( |
||
$request | the request object | |
$id | integer | the Section id |
리턴 | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |