PHP Класс Ojs\ApiBundle\Controller\Journal\JournalArticleCitationRestController

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

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

Метод Описание
deleteCitationAction ( $id ) : Response
getCitationAction ( integer $id ) : array Get single ArticleCitation.
getCitationsAction ( FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array List all ArticleCitations.
newCitationAction ( ) : Symfony\Component\Form\FormTypeInterface Presents the form to use to create a new ArticleCitation.
patchCitationAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing article citation from the submitted data or create a new article citation at a specific location.
postCitationAction ( Request $request ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Create a ArticleCitation from the submitted data.
putCitationAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing ArticleCitation from the submitted data or create a new ArticleCitation at a specific location.

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

Метод Описание
getOr404 ( mixed $id ) : Citation Fetch a ArticleCitation or throw an 404 Exception.

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

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

public deleteCitationAction ( $id ) : Response
$id
Результат Symfony\Component\HttpFoundation\Response

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

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

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

List all ArticleCitations.
public getCitationsAction ( FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array
$paramFetcher FOS\RestBundle\Request\ParamFetcherInterface param fetcher service
Результат array

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

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

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

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

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

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

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

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

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

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