PHP Class Ojs\AdminBundle\Controller\AdminPeriodController

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

Private Methods

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

Method Details

createAction() public méthode

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

editAction() public méthode

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

indexAction() public méthode

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

showAction() public méthode

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

updateAction() public méthode

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