PHP Class Ojs\AdminBundle\Controller\AdminLanguageController

Inheritance: extends Ojs\CoreBundle\Controller\OjsController
显示文件 Open project: ojs/ojs

Public Methods

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

Private Methods

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

Method Details

createAction() public method

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

deleteAction() public method

public deleteAction ( Request $request, Lang $entity ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request
$entity Ojs\JournalBundle\Entity\Lang
return Symfony\Component\HttpFoundation\RedirectResponse

editAction() public method

Displays a form to edit an existing Lang entity.
public editAction ( Lang $entity ) : Response
$entity Ojs\JournalBundle\Entity\Lang
return Symfony\Component\HttpFoundation\Response

indexAction() public method

Lists all Lang entities.
public indexAction ( )

newAction() public method

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

showAction() public method

Finds and displays a Lang entity.
public showAction ( Lang $entity ) : Response
$entity Ojs\JournalBundle\Entity\Lang
return Symfony\Component\HttpFoundation\Response

updateAction() public method

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