Метод | Описание | |
---|---|---|
deleteFileAction ( $id ) : |
||
getFileAction ( integer $id ) : array | Get single ArticleFile. | |
getFilesAction ( FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array | List all ArticleFiles. | |
newFileAction ( ) : Symfony\Component\Form\FormTypeInterface | Presents the form to use to create a new ArticleFile. | |
patchFileAction ( |
Update existing article file from the submitted data or create a new article file at a specific location. | |
postFileAction ( |
Create a ArticleFile from the submitted data. | |
putFileAction ( |
Update existing ArticleFile from the submitted data or create a new ArticleFile at a specific location. |
Метод | Описание | |
---|---|---|
getOr404 ( mixed $id, boolean $normalize = false ) : Ojs\JournalBundle\Entity\ArticleFile | Fetch a ArticleFile or throw an 404 Exception. |
public deleteFileAction ( $id ) : |
||
$id | ||
Результат |
public getFileAction ( integer $id ) : array | ||
$id | integer | the ArticleFile id |
Результат | array |
public getFilesAction ( FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array | ||
$paramFetcher | FOS\RestBundle\Request\ParamFetcherInterface | param fetcher service |
Результат | array |
public newFileAction ( ) : Symfony\Component\Form\FormTypeInterface | ||
Результат | Symfony\Component\Form\FormTypeInterface |
public patchFileAction ( |
||
$request | the request object | |
$id | integer | the article file id |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public postFileAction ( |
||
$request | the request object | |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public putFileAction ( |
||
$request | the request object | |
$id | integer | the ArticleFile id |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |