PHP Класс Ojs\ApiBundle\Controller\Admin\PublisherThemeRestController

Наследование: extends FOS\RestBundle\Controller\FOSRestController
Показать файл Открыть проект

Открытые методы

Метод Описание
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