PHP Class Ojs\AdminBundle\Controller\AdminPublisherController

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

Public Methods

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

Private Methods

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

Method Details

createAction() public method

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

editAction() public method

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

indexAction() public method

Lists all Publisher 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 Publisher entity.
public newAction ( )

showAction() public method

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

updateAction() public method

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