PHP Class Ojs\AdminBundle\Controller\AdminArticleTypeController

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

Méthodes publiques

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

Private Methods

Méthode Description
createCreateForm ( ArticleTypes $entity ) : Form Creates a form to create a ArticleTypes entity.
createEditForm ( ArticleTypes $entity ) : Form Creates a form to edit a ArticleTypes entity.

Method Details

createAction() public méthode

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

deleteAction() public méthode

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

editAction() public méthode

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

indexAction() public méthode

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

newAction() public méthode

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

showAction() public méthode

Finds and displays a ArticleTypes entity.
public showAction ( Request $request, ArticleTypes $entity ) : Response
$request Symfony\Component\HttpFoundation\Request
$entity Ojs\JournalBundle\Entity\ArticleTypes
Résultat Symfony\Component\HttpFoundation\Response

updateAction() public méthode

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