PHP 클래스 Ojs\ApiBundle\Controller\Journal\JournalArticleCitationRestController

상속: extends Ojs\ApiBundle\Controller\ApiController
파일 보기 프로젝트 열기: ojs/ojs

공개 메소드들

메소드 설명
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