PHP Class Ojs\ApiBundle\Controller\Admin\PublisherManagerRestController

Inheritance: extends FOS\RestBundle\Controller\FOSRestController
Afficher le fichier Open project: ojs/ojs

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
getOr404 ( mixed $id ) : PublisherManagers Fetch a PublisherManager or throw an 404 Exception.

Method Details

deletePublishermanagerAction() public méthode

public deletePublishermanagerAction ( $id ) : Response
$id
Résultat Response

getOr404() protected méthode

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

getPublishermanagerAction() public méthode

Get single PublisherManager.
public getPublishermanagerAction ( integer $id ) : array
$id integer the PublisherManager id
Résultat array

getPublishermanagersAction() public méthode

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
Résultat array

newPublishermanagerAction() public méthode

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

patchPublishermanagerAction() public méthode

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
Résultat Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View

postPublishermanagerAction() public méthode

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
Résultat Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View

putPublishermanagerAction() public méthode

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
Résultat Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View