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

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

공개 메소드들

메소드 설명
deleteBoardAction ( $id ) : Response
getBoardAction ( integer $id ) : array Get single Board.
getBoardsAction ( Request $request, FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array List all Boards.
newBoardAction ( ) : Symfony\Component\Form\FormTypeInterface Presents the form to use to create a new Board.
patchBoardAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing journal_board from the submitted data or create a new journal_board at a specific location.
postBoardAction ( Request $request ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Create a Board from the submitted data.
putBoardAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing Board from the submitted data or create a new Board at a specific location.

보호된 메소드들

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

메소드 상세

deleteBoardAction() 공개 메소드

public deleteBoardAction ( $id ) : Response
$id
리턴 Response

getBoardAction() 공개 메소드

Get single Board.
public getBoardAction ( integer $id ) : array
$id integer the Board id
리턴 array

getBoardsAction() 공개 메소드

List all Boards.
public getBoardsAction ( 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 Board or throw an 404 Exception.
protected getOr404 ( mixed $id ) : Board
$id mixed
리턴 Ojs\JournalBundle\Entity\Board

newBoardAction() 공개 메소드

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

patchBoardAction() 공개 메소드

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

postBoardAction() 공개 메소드

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

putBoardAction() 공개 메소드

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