PHP Class Ojs\JournalBundle\Controller\IssueController

Inheritance: extends Ojs\Common\Controller\OjsController
Exibir arquivo Open project: ojs/ojs

Public Methods

Method Description
addArticleAction ( Request $request, integer $id, integer $articleId ) : RedirectResponse add article to this issue
arrangeAction ( Request $request, integer $id ) : Response show issue manager arrange issue page , arrange and update
createAction ( Request $request ) : RedirectResponse | Response Creates a new Issue entity.
deleteAction ( Request $request, integer $id ) : RedirectResponse
editAction ( integer $id ) : Response Displays a form to edit an existing Issue entity.
indexAction ( Request $request ) : Response Lists all Issue entities.
makeLastIssueAction ( $id ) : RedirectResponse
newAction ( ) : Response Displays a form to create a new Issue entity.
removeArticleAction ( Request $request, integer $id, integer $articleId ) : RedirectResponse Remove article fro this issue
showAction ( Request $request, $id ) : Response Finds and displays a Issue entity.
updateAction ( Request $request, $id ) : RedirectResponse | Response Edits an existing Issue entity.
viewAction ( integer $id ) : Response show issue manager view page

Private Methods

Method Description
createCreateForm ( Issue $entity, integer $journalId ) : Form Creates a form to create a Issue entity.
createEditForm ( Issue $entity, integer $journalId ) : Form Creates a form to edit a Issue entity.

Method Details

addArticleAction() public method

add article to this issue
public addArticleAction ( Request $request, integer $id, integer $articleId ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request
$id integer
$articleId integer
return Symfony\Component\HttpFoundation\RedirectResponse

arrangeAction() public method

show issue manager arrange issue page , arrange and update
public arrangeAction ( Request $request, integer $id ) : Response
$request Symfony\Component\HttpFoundation\Request
$id integer
return Symfony\Component\HttpFoundation\Response

createAction() public method

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

indexAction() public method

Lists all Issue entities.
public indexAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response

makeLastIssueAction() public method

public makeLastIssueAction ( $id ) : RedirectResponse
$id
return Symfony\Component\HttpFoundation\RedirectResponse

newAction() public method

Displays a form to create a new Issue entity.
public newAction ( ) : Response
return Symfony\Component\HttpFoundation\Response

removeArticleAction() public method

Remove article fro this issue
public removeArticleAction ( Request $request, integer $id, integer $articleId ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request
$id integer
$articleId integer
return Symfony\Component\HttpFoundation\RedirectResponse

showAction() public method

Finds and displays a Issue entity.
public showAction ( Request $request, $id ) : Response
$request Symfony\Component\HttpFoundation\Request
$id
return Symfony\Component\HttpFoundation\Response

updateAction() public method

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

viewAction() public method

show issue manager view page
public viewAction ( integer $id ) : Response
$id integer
return Symfony\Component\HttpFoundation\Response