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

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

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

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