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

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

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

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