PHP Class Ojs\JournalBundle\Controller\JournalPostController

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

Public Methods

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

Private Methods

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

Method Details

createAction() public method

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

editAction() public method

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

indexAction() public method

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

showAction() public method

Finds and displays a JournalPost entity.
public showAction ( JournalPost $journalPost ) : Response
$journalPost Ojs\JournalBundle\Entity\JournalPost
return Symfony\Component\HttpFoundation\Response

updateAction() public method

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