PHP Class Ojs\JournalBundle\Controller\ArticleAuthorController

Inheritance: extends Ojs\Common\Controller\OjsController
Exibir arquivo Open project: ojs/ojs

Public Methods

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

Private Methods

Method Description
createCreateForm ( ArticleAuthor $entity, Journal $journal, Article $article ) : Form
createEditForm ( ArticleAuthor $entity, Journal $journal, Article $article ) : Form Creates a form to edit a ArticleAuthor entity.

Method Details

authorSortAction() public method

public authorSortAction ( Request $request, $articleId ) : Response
$request Symfony\Component\HttpFoundation\Request
$articleId
return Symfony\Component\HttpFoundation\Response

createAction() public method

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

deleteAction() public method

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

editAction() public method

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

indexAction() public method

Lists all ArticleAuthor entities.
public indexAction ( integer $articleId, Request $request ) : Response
$articleId integer
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response

newAction() public method

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

showAction() public method

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

updateAction() public method

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