PHP Class Ojs\AdminBundle\Controller\AdminPublisherDesignController

Inheritance: extends Ojs\CoreBundle\Controller\OjsController
ファイルを表示 Open project: ojs/ojs

Public Methods

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

Private Methods

Method Description
createCreateForm ( Ojs\JournalBundle\Entity\PublisherDesign $entity ) : Form Creates a form to create a PublisherTypes entity.
createEditForm ( Ojs\JournalBundle\Entity\PublisherDesign $entity ) : Form Creates a form to edit a PublisherTypes entity.
prepareDesignContent ( String $editableContent ) : String
prepareEditContent ( String $editableContent ) : String

Method Details

createAction() public method

Creates a new PublisherDesign 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, Ojs\JournalBundle\Entity\PublisherDesign $entity ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request
$entity Ojs\JournalBundle\Entity\PublisherDesign
return Symfony\Component\HttpFoundation\RedirectResponse

editAction() public method

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

indexAction() public method

Lists all PublisherDesigns entities.
public indexAction ( )

newAction() public method

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

showAction() public method

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

updateAction() public method

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