PHP Class Ojs\JournalBundle\Controller\ArticleFileController

Inheritance: extends Ojs\CoreBundle\Controller\OjsController
Show file Open project: ojs/ojs

Public Methods

Method Description
createAction ( Request $request, integer $articleId ) : RedirectResponse | Response Creates a new ArticleFile entity.
deleteAction ( Request $request, integer $id, integer $articleId ) : RedirectResponse Deletes a ArticleFile entity.
editAction ( integer $id, integer $articleId ) : Response Displays a form to edit an existing ArticleFile entity.
indexAction ( integer $articleId ) : Response Lists all ArticleFile entities.
newAction ( integer $articleId ) : Response Displays a form to create a new ArticleFile entity.
showAction ( integer $id, integer $articleId ) : Response Finds and displays a ArticleFile entity.
updateAction ( Request $request, integer $id, integer $articleId ) : RedirectResponse | Response Edits an existing ArticleFile entity.

Private Methods

Method Description
createCreateForm ( Ojs\JournalBundle\Entity\ArticleFile $entity, Journal $journal, Article $article ) : Form Creates a form to create a ArticleFile entity.
createEditForm ( Ojs\JournalBundle\Entity\ArticleFile $entity, Journal $journal, Article $article ) : Form Creates a form to edit a ArticleFile entity.

Method Details

createAction() public method

Creates a new ArticleFile entity.
public createAction ( Request $request, integer $articleId ) : RedirectResponse | Response
$request Symfony\Component\HttpFoundation\Request
$articleId integer
return Symfony\Component\HttpFoundation\RedirectResponse | Symfony\Component\HttpFoundation\Response

deleteAction() public method

Deletes a ArticleFile entity.
public deleteAction ( Request $request, integer $id, integer $articleId ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request
$id integer
$articleId integer
return Symfony\Component\HttpFoundation\RedirectResponse

editAction() public method

Displays a form to edit an existing ArticleFile entity.
public editAction ( integer $id, integer $articleId ) : Response
$id integer
$articleId integer
return Symfony\Component\HttpFoundation\Response

indexAction() public method

Lists all ArticleFile entities.
public indexAction ( integer $articleId ) : Response
$articleId integer
return Symfony\Component\HttpFoundation\Response

newAction() public method

Displays a form to create a new ArticleFile entity.
public newAction ( integer $articleId ) : Response
$articleId integer
return Symfony\Component\HttpFoundation\Response

showAction() public method

Finds and displays a ArticleFile entity.
public showAction ( integer $id, integer $articleId ) : Response
$id integer
$articleId integer
return Symfony\Component\HttpFoundation\Response

updateAction() public method

Edits an existing ArticleFile entity.
public updateAction ( Request $request, integer $id, integer $articleId ) : RedirectResponse | Response
$request Symfony\Component\HttpFoundation\Request
$id integer
$articleId integer
return Symfony\Component\HttpFoundation\RedirectResponse | Symfony\Component\HttpFoundation\Response