PHP 클래스 Ojs\ApiBundle\Controller\Admin\IndexRestController

상속: extends FOS\RestBundle\Controller\FOSRestController
파일 보기 프로젝트 열기: ojs/ojs

공개 메소드들

메소드 설명
deleteIndexesAction ( $id ) : Response
getIndexesAction ( Request $request, FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array List all Indexs.
getIndexsAction ( integer $id ) : array Get single Index.
newIndexesAction ( ) : Symfony\Component\Form\FormTypeInterface Presents the form to use to create a new Index.
patchIndexesAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing index from the submitted data or create a new index at a specific location.
postIndexesAction ( Request $request ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Create a Index from the submitted data.
putIndexesAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing Index from the submitted data or create a new Index at a specific location.

보호된 메소드들

메소드 설명
getOr404 ( mixed $id ) : Ojs\JournalBundle\Entity\Index Fetch a Index or throw an 404 Exception.

메소드 상세

deleteIndexesAction() 공개 메소드

public deleteIndexesAction ( $id ) : Response
$id
리턴 Response

getIndexesAction() 공개 메소드

List all Indexs.
public getIndexesAction ( Request $request, FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array
$request Symfony\Component\HttpFoundation\Request the request object
$paramFetcher FOS\RestBundle\Request\ParamFetcherInterface param fetcher service
리턴 array

getIndexsAction() 공개 메소드

Get single Index.
public getIndexsAction ( integer $id ) : array
$id integer the Index id
리턴 array

getOr404() 보호된 메소드

Fetch a Index or throw an 404 Exception.
protected getOr404 ( mixed $id ) : Ojs\JournalBundle\Entity\Index
$id mixed
리턴 Ojs\JournalBundle\Entity\Index

newIndexesAction() 공개 메소드

Presents the form to use to create a new Index.
public newIndexesAction ( ) : Symfony\Component\Form\FormTypeInterface
리턴 Symfony\Component\Form\FormTypeInterface

patchIndexesAction() 공개 메소드

Update existing index from the submitted data or create a new index at a specific location.
public patchIndexesAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View
$request Symfony\Component\HttpFoundation\Request the request object
$id integer the index id
리턴 Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View

postIndexesAction() 공개 메소드

Create a Index from the submitted data.
public postIndexesAction ( Request $request ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View
$request Symfony\Component\HttpFoundation\Request the request object
리턴 Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View

putIndexesAction() 공개 메소드

Update existing Index from the submitted data or create a new Index at a specific location.
public putIndexesAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View
$request Symfony\Component\HttpFoundation\Request the request object
$id integer the Index id
리턴 Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View