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

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

공개 메소드들

메소드 설명
deletePublisherthemeAction ( $id ) : Response
getPublisherthemeAction ( integer $id ) : array Get single PublisherTheme.
getPublisherthemesAction ( Request $request, FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array List all PublisherTheme.
newPublisherthemeAction ( ) : Symfony\Component\Form\FormTypeInterface Presents the form to use to create a new PublisherTheme.
patchPublisherthemeAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing publisher_theme from the submitted data or create a new publisher_theme at a specific location.
postPublisherthemeAction ( Request $request ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Create a PublisherTheme from the submitted data.
putPublisherthemeAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing PublisherTheme from the submitted data or create a new PublisherTheme at a specific location.

보호된 메소드들

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

메소드 상세

deletePublisherthemeAction() 공개 메소드

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

getOr404() 보호된 메소드

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

getPublisherthemeAction() 공개 메소드

Get single PublisherTheme.
public getPublisherthemeAction ( integer $id ) : array
$id integer the PublisherTheme id
리턴 array

getPublisherthemesAction() 공개 메소드

List all PublisherTheme.
public getPublisherthemesAction ( 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

newPublisherthemeAction() 공개 메소드

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

patchPublisherthemeAction() 공개 메소드

Update existing publisher_theme from the submitted data or create a new publisher_theme at a specific location.
public patchPublisherthemeAction ( 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_theme id
리턴 Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View

postPublisherthemeAction() 공개 메소드

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

putPublisherthemeAction() 공개 메소드

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