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

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

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

Метод Описание
deleteIndexesAction ( $id ) : Response
getIndexesAction ( Request $request, FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array List all Indexs.
getIndexsAction ( integer $id ) : array Get single Index.
newIndexesAction ( ) : Symfony\Component\Form\FormTypeInterface Presents the form to use to create a new Index.
patchIndexesAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing index from the submitted data or create a new index at a specific location.
postIndexesAction ( Request $request ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Create a Index from the submitted data.
putIndexesAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing Index from the submitted data or create a new Index at a specific location.

Защищенные методы

Метод Описание
getOr404 ( mixed $id ) : Ojs\JournalBundle\Entity\Index Fetch a Index or throw an 404 Exception.

Описание методов

deleteIndexesAction() публичный Метод

public deleteIndexesAction ( $id ) : Response
$id
Результат Response

getIndexesAction() публичный Метод

List all Indexs.
public getIndexesAction ( 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

getIndexsAction() публичный Метод

Get single Index.
public getIndexsAction ( integer $id ) : array
$id integer the Index id
Результат array

getOr404() защищенный Метод

Fetch a Index or throw an 404 Exception.
protected getOr404 ( mixed $id ) : Ojs\JournalBundle\Entity\Index
$id mixed
Результат Ojs\JournalBundle\Entity\Index

newIndexesAction() публичный Метод

Presents the form to use to create a new Index.
public newIndexesAction ( ) : Symfony\Component\Form\FormTypeInterface
Результат Symfony\Component\Form\FormTypeInterface

patchIndexesAction() публичный Метод

Update existing index from the submitted data or create a new index at a specific location.
public patchIndexesAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View
$request Symfony\Component\HttpFoundation\Request the request object
$id integer the index id
Результат Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View

postIndexesAction() публичный Метод

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

putIndexesAction() публичный Метод

Update existing Index from the submitted data or create a new Index at a specific location.
public putIndexesAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View
$request Symfony\Component\HttpFoundation\Request the request object
$id integer the Index id
Результат Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View