PHP Class Ojs\AdminBundle\Controller\AdminInstitutionController

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

Méthodes publiques

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

Private Methods

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

Method Details

createAction() public méthode

Creates a new Institution 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

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 Institution entity.
public editAction ( $id ) : Response
$id
Résultat Symfony\Component\HttpFoundation\Response

indexAction() public méthode

Lists all Institution entities.
public indexAction ( )

newAction() public méthode

Displays a form to create a new Institution entity.
public newAction ( )

showAction() public méthode

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

updateAction() public méthode

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