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

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

공개 메소드들

메소드 설명
deleteAuthorAction ( $id ) : Response
getAuthorAction ( integer $id ) : array Get single ArticleAuthor.
getAuthorsAction ( FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array List all ArticleAuthors.
newAuthorAction ( ) : Symfony\Component\Form\FormTypeInterface Presents the form to use to create a new ArticleAuthor.
patchAuthorAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing article author from the submitted data or create a new article author at a specific location.
postAuthorAction ( Request $request ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Create a ArticleAuthor from the submitted data.
putAuthorAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing ArticleAuthor from the submitted data or create a new ArticleAuthor at a specific location.

보호된 메소드들

메소드 설명
getOr404 ( mixed $id ) : ArticleAuthor Fetch a ArticleAuthor or throw an 404 Exception.

메소드 상세

deleteAuthorAction() 공개 메소드

public deleteAuthorAction ( $id ) : Response
$id
리턴 Symfony\Component\HttpFoundation\Response

getAuthorAction() 공개 메소드

Get single ArticleAuthor.
public getAuthorAction ( integer $id ) : array
$id integer the ArticleAuthor id
리턴 array

getAuthorsAction() 공개 메소드

List all ArticleAuthors.
public getAuthorsAction ( FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array
$paramFetcher FOS\RestBundle\Request\ParamFetcherInterface param fetcher service
리턴 array

getOr404() 보호된 메소드

Fetch a ArticleAuthor or throw an 404 Exception.
protected getOr404 ( mixed $id ) : ArticleAuthor
$id mixed
리턴 Ojs\JournalBundle\Entity\ArticleAuthor

newAuthorAction() 공개 메소드

Presents the form to use to create a new ArticleAuthor.
public newAuthorAction ( ) : Symfony\Component\Form\FormTypeInterface
리턴 Symfony\Component\Form\FormTypeInterface

patchAuthorAction() 공개 메소드

Update existing article author from the submitted data or create a new article author at a specific location.
public patchAuthorAction ( 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 author id
리턴 Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View

postAuthorAction() 공개 메소드

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

putAuthorAction() 공개 메소드

Update existing ArticleAuthor from the submitted data or create a new ArticleAuthor at a specific location.
public putAuthorAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View
$request Symfony\Component\HttpFoundation\Request the request object
$id integer the ArticleAuthor id
리턴 Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View