PHP Class Ojs\JournalBundle\Controller\ArticleAuthorController

Inheritance: extends Ojs\Common\Controller\OjsController
Afficher le fichier Open project: ojs/ojs

Méthodes publiques

Méthode 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

Méthode 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 méthode

public authorSortAction ( Request $request, $articleId ) : Response
$request Symfony\Component\HttpFoundation\Request
$articleId
Résultat Symfony\Component\HttpFoundation\Response

createAction() public méthode

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

deleteAction() public méthode

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

editAction() public méthode

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

indexAction() public méthode

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

newAction() public méthode

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

showAction() public méthode

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

updateAction() public méthode

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