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

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

공개 메소드들

메소드 설명
deleteIssueAction ( $id ) : Response
getAddArticleAction ( Request $request, integer $issueId, integer $articleId, integer $sectionId ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Add article to issue
getIssueAction ( integer $id ) : array Get single Issue.
getIssuesAction ( Request $request, FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array List all Issues.
newIssueAction ( ) : Symfony\Component\Form\FormTypeInterface Presents the form to use to create a new Issue.
patchIssueAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing journal_issue from the submitted data or create a new journal_issue at a specific location.
postIssueAction ( Request $request ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Create a Issue from the submitted data.
putIssueAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing Issue from the submitted data or create a new Issue at a specific location.

보호된 메소드들

메소드 설명
getOr404 ( mixed $id, boolean $normalize = false ) : Issue Fetch a Issue or throw an 404 Exception.

메소드 상세

deleteIssueAction() 공개 메소드

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

getAddArticleAction() 공개 메소드

Add article to issue
public getAddArticleAction ( Request $request, integer $issueId, integer $articleId, integer $sectionId ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View
$request Symfony\Component\HttpFoundation\Request the request object
$issueId integer the Issue id
$articleId integer the Article id
$sectionId integer the Section id
리턴 Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View

getIssueAction() 공개 메소드

Get single Issue.
public getIssueAction ( integer $id ) : array
$id integer the Issue id
리턴 array

getIssuesAction() 공개 메소드

List all Issues.
public getIssuesAction ( 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

getOr404() 보호된 메소드

Fetch a Issue or throw an 404 Exception.
protected getOr404 ( mixed $id, boolean $normalize = false ) : Issue
$id mixed
$normalize boolean
리턴 Ojs\JournalBundle\Entity\Issue

newIssueAction() 공개 메소드

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

patchIssueAction() 공개 메소드

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

postIssueAction() 공개 메소드

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

putIssueAction() 공개 메소드

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