PHP Class Ojs\JournalBundle\Controller\MailTemplateController

Inheritance: extends Ojs\CoreBundle\Controller\OjsController
Exibir arquivo Open project: ojs/ojs

Public Methods

Method Description
editAction ( integer $id ) : Response Displays a form to edit an existing MailTemplate entity.
indexAction ( ) : Response Lists all MailTemplate entities.
showAction ( integer $id ) : Response Finds and displays a MailTemplate entity.
updateAction ( Request $request, integer $id ) : RedirectResponse | Response Edits an existing MailTemplate entity.

Private Methods

Method Description
createEditForm ( MailTemplate $entity ) : Form Creates a form to edit a MailTemplate entity.
getDefaultMailTemplate ( MailTemplate $mailTemplate ) : null | object | MailTemplate

Method Details

editAction() public method

Displays a form to edit an existing MailTemplate entity.
public editAction ( integer $id ) : Response
$id integer
return Symfony\Component\HttpFoundation\Response

indexAction() public method

Lists all MailTemplate entities.
public indexAction ( ) : Response
return Symfony\Component\HttpFoundation\Response

showAction() public method

Finds and displays a MailTemplate entity.
public showAction ( integer $id ) : Response
$id integer
return Symfony\Component\HttpFoundation\Response

updateAction() public method

Edits an existing MailTemplate entity.
public updateAction ( Request $request, integer $id ) : RedirectResponse | Response
$request Symfony\Component\HttpFoundation\Request
$id integer
return Symfony\Component\HttpFoundation\RedirectResponse | Symfony\Component\HttpFoundation\Response