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

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

공개 메소드들

메소드 설명
deletePublishermanagerAction ( $id ) : Response
getPublishermanagerAction ( integer $id ) : array Get single PublisherManager.
getPublishermanagersAction ( Request $request, FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array List all PublisherManager.
newPublishermanagerAction ( ) : Symfony\Component\Form\FormTypeInterface Presents the form to use to create a new PublisherManager.
patchPublishermanagerAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing publisher_manager from the submitted data or create a new publisher_manager at a specific location.
postPublishermanagerAction ( Request $request ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Create a PublisherManager from the submitted data.
putPublishermanagerAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing PublisherManager from the submitted data or create a new PublisherManager at a specific location.

보호된 메소드들

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

메소드 상세

deletePublishermanagerAction() 공개 메소드

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

getOr404() 보호된 메소드

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

getPublishermanagerAction() 공개 메소드

Get single PublisherManager.
public getPublishermanagerAction ( integer $id ) : array
$id integer the PublisherManager id
리턴 array

getPublishermanagersAction() 공개 메소드

List all PublisherManager.
public getPublishermanagersAction ( 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

newPublishermanagerAction() 공개 메소드

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

patchPublishermanagerAction() 공개 메소드

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

postPublishermanagerAction() 공개 메소드

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

putPublishermanagerAction() 공개 메소드

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