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

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

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

Метод Описание
deleteFileAction ( $id ) : Response
getFileAction ( integer $id ) : array Get single IssueFile.
getFilesAction ( FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array List all IssueFiles.
newFileAction ( ) : Symfony\Component\Form\FormTypeInterface Presents the form to use to create a new IssueFile.
patchFileAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing issue file from the submitted data or create a new issue file at a specific location.
postFileAction ( Request $request ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Create a IssueFile from the submitted data.
putFileAction ( Request $request, integer $id ) : Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View Update existing IssueFile from the submitted data or create a new IssueFile at a specific location.

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

Метод Описание
getOr404 ( mixed $id, boolean $normalize = false ) : IssueFile Fetch a IssueFile or throw an 404 Exception.

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

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

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

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

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

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

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

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

Fetch a IssueFile or throw an 404 Exception.
protected getOr404 ( mixed $id, boolean $normalize = false ) : IssueFile
$id mixed
$normalize boolean
Результат Ojs\JournalBundle\Entity\IssueFile

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

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

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

Update existing issue file from the submitted data or create a new issue file at a specific location.
public patchFileAction ( 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 file id
Результат Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View

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

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

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

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