PHP Class Ojs\AdminBundle\Controller\AdminPersonTitleController

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

Public Methods

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

Private Methods

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

Method Details

createAction() public method

Creates a new PersonTitle 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 PersonTitle 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 PersonTitle entity.
public editAction ( $id ) : Response
$id
return Symfony\Component\HttpFoundation\Response

indexAction() public method

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

showAction() public method

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

updateAction() public method

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