PHP Class Ojs\AdminBundle\Controller\AdminContactController

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

Public Methods

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

Private Methods

Method Description
createCreateForm ( JournalContact $entity ) : Form Creates a form to create a JournalContact entity.
createEditForm ( JournalContact $entity ) : Form Creates a form to edit a JournalContact entity.

Method Details

createAction() public method

Creates a new JournalContact entity.
public createAction ( Request $request ) : RedirectResponse | Response
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\RedirectResponse | Symfony\Component\HttpFoundation\Response

deleteAction() public method

Deletes a JournalContact entity.
public deleteAction ( Request $request, integer $id ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request
$id integer
return Symfony\Component\HttpFoundation\RedirectResponse

editAction() public method

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

indexAction() public method

Lists all JournalContact entities.
public indexAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response

newAction() public method

Displays a form to create a new JournalContact entity.
public newAction ( ) : Response
return Symfony\Component\HttpFoundation\Response

showAction() public method

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

updateAction() public method

Edits an existing JournalContact 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