PHP Class Ojs\AdminBundle\Controller\AdminAnnouncementController

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

Private Methods

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

Method Details

createAction() public méthode

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

editAction() public méthode

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

indexAction() public méthode

Lists all AdminAnnouncement entities.
public indexAction ( )

newAction() public méthode

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

showAction() public méthode

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

updateAction() public méthode

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