PHP Class Ojs\AdminBundle\Controller\AdminArticleTypeController

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

Public Methods

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

Private Methods

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

Method Details

createAction() public method

Creates a new ArticleTypes entity.
public createAction ( Request $request ) : RedirectResponse | Response
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\RedirectResponse | Symfony\Component\HttpFoundation\Response

deleteAction() public method

Deletes a ArticleTypes entity.
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 ArticleTypes entity.
public editAction ( $id ) : Response
$id
return Symfony\Component\HttpFoundation\Response

indexAction() public method

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

showAction() public method

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

updateAction() public method

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