PHP Class Ojs\JournalBundle\Controller\DesignController

Inheritance: extends Ojs\CoreBundle\Controller\OjsController
Mostra file Open project: ojs/ojs

Public Methods

Method Description
createAction ( Request $request ) : RedirectResponse | Response Creates a new Design entity.
deleteAction ( Request $request, integer $id ) : RedirectResponse
editAction ( Ojs\JournalBundle\Entity\Design $design ) : Response
indexAction ( Request $request ) : Response Lists all Design entities.
newAction ( ) : Response Displays a form to create a new Design entity.
showAction ( $id ) : Response
updateAction ( Request $request, Ojs\JournalBundle\Entity\Design $design ) : RedirectResponse | Response

Private Methods

Method Description
createCreateForm ( Ojs\JournalBundle\Entity\Design $entity, Journal $journal ) : Form
createEditForm ( Ojs\JournalBundle\Entity\Design $entity, Journal $journal ) : Form
prepareDesignContent ( String $editableContent ) : String
prepareEditContent ( String $editableContent ) : String

Method Details

createAction() public method

Creates a new Design 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, integer $id ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request
$id integer
return Symfony\Component\HttpFoundation\RedirectResponse

editAction() public method

public editAction ( Ojs\JournalBundle\Entity\Design $design ) : Response
$design Ojs\JournalBundle\Entity\Design
return Symfony\Component\HttpFoundation\Response

indexAction() public method

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

showAction() public method

public showAction ( $id ) : Response
$id
return Symfony\Component\HttpFoundation\Response

updateAction() public method

public updateAction ( Request $request, Ojs\JournalBundle\Entity\Design $design ) : RedirectResponse | Response
$request Symfony\Component\HttpFoundation\Request
$design Ojs\JournalBundle\Entity\Design
return Symfony\Component\HttpFoundation\RedirectResponse | Symfony\Component\HttpFoundation\Response