PHP Class Ojs\JournalBundle\Controller\SectionController

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

Public Methods

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

Private Methods

Method Description
createCreateForm ( Ojs\JournalBundle\Entity\Section $entity, Journal $journal ) : Form Creates a form to create a Section entity.
createEditForm ( Ojs\JournalBundle\Entity\Section $entity ) : Form Creates a form to edit a Section entity.

Method Details

createAction() public method

Creates a new Section 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 Section entity.
public deleteAction ( Request $request, $id ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request
$id
return Symfony\Component\HttpFoundation\RedirectResponse

editAction() public method

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

indexAction() public method

Lists all Section 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 Section entity.
public newAction ( ) : Response
return Symfony\Component\HttpFoundation\Response

showAction() public method

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

updateAction() public method

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