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

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

공개 메소드들

메소드 설명
deletePublishertypeAction ( $id ) : Response
getPublishertypeAction ( integer $id ) : array Get single PublisherType.
getPublishertypesAction ( Request $request, FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array List all PublisherTypes.
newPublishertypeAction ( ) : Symfony\Component\Form\FormTypeInterface Presents the form to use to create a new PublisherType.
patchPublishertypeAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing publisherType from the submitted data or create a new publisherType at a specific location.
postPublishertypeAction ( Request $request ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Create a PublisherType from the submitted data.
putPublishertypeAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing PublisherType from the submitted data or create a new PublisherType at a specific location.

보호된 메소드들

메소드 설명
getOr404 ( mixed $id ) : PublisherTypes Fetch a PublisherType or throw an 404 Exception.

메소드 상세

deletePublishertypeAction() 공개 메소드

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

getOr404() 보호된 메소드

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

getPublishertypeAction() 공개 메소드

Get single PublisherType.
public getPublishertypeAction ( integer $id ) : array
$id integer the PublisherType id
리턴 array

getPublishertypesAction() 공개 메소드

List all PublisherTypes.
public getPublishertypesAction ( 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

newPublishertypeAction() 공개 메소드

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

patchPublishertypeAction() 공개 메소드

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

postPublishertypeAction() 공개 메소드

Create a PublisherType from the submitted data.
public postPublishertypeAction ( 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

putPublishertypeAction() 공개 메소드

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