PHP Class Ojs\AdminBundle\Controller\AdminJournalThemeController

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

Public Methods

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

Private Methods

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

Method Details

createAction() public method

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

editAction() public method

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

indexAction() public method

Lists all Themes entities.
public indexAction ( )

newAction() public method

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

showAction() public method

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

updateAction() public method

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