PHP Class Ojs\AdminBundle\Controller\AdminPublisherTypeController

Inheritance: extends Ojs\CoreBundle\Controller\OjsController
显示文件 Open project: ojs/ojs

Public Methods

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

Private Methods

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

Method Details

createAction() public method

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

editAction() public method

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

indexAction() public method

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

showAction() public method

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

updateAction() public method

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