PHP Class Ojs\AdminBundle\Controller\AdminSubjectController

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 Subject entity.
deleteAction ( Request $request, Subject $entity ) : RedirectResponse
editAction ( Subject $entity ) : Response Displays a form to edit an existing Subject entity.
indexAction ( Request $request ) : Response Lists all Subject entities.
newAction ( ) Displays a form to create a new Subject entity.
showAction ( Request $request, Subject $entity ) : Response Finds and displays a Subject entity.
updateAction ( Request $request, Subject $entity ) : RedirectResponse | Response Edits an existing Subject entity.

Private Methods

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

Method Details

createAction() public méthode

Creates a new Subject 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, Subject $entity ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request
$entity Ojs\JournalBundle\Entity\Subject
Résultat Symfony\Component\HttpFoundation\RedirectResponse

editAction() public méthode

Displays a form to edit an existing Subject entity.
public editAction ( Subject $entity ) : Response
$entity Ojs\JournalBundle\Entity\Subject
Résultat Symfony\Component\HttpFoundation\Response

indexAction() public méthode

Lists all Subject 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 Subject entity.
public newAction ( )

showAction() public méthode

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

updateAction() public méthode

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