PHP Класс Ojs\JournalBundle\Controller\ArticleController

Наследование: extends Ojs\CoreBundle\Controller\OjsController
Показать файл Открыть проект

Открытые методы

Метод Описание
createAction ( Request $request ) : RedirectResponse | Response Creates a new Article entity.
deleteAction ( Request $request, Article $article ) : RedirectResponse Deletes an article entity
editAction ( Article $article ) : Response Displays a form to edit an existing article entity
indexAction ( Request $request ) : Response Lists all article entities for journal
newAction ( ) : Response Displays a form to create a new article entity
showAction ( Article $article ) : Response Finds and displays an article entity
updateAction ( Request $request, Article $article ) : RedirectResponse | Response Edits an existing Article entity.

Приватные методы

Метод Описание
createCreateForm ( Article $entity, Journal $journal ) : Form Creates a form to create a Article entity.
createEditForm ( Article $entity, Journal $journal ) : Form Creates a form to edit a Article entity.

Описание методов

createAction() публичный Метод

Creates a new Article entity.
public createAction ( Request $request ) : RedirectResponse | Response
$request Symfony\Component\HttpFoundation\Request
Результат Symfony\Component\HttpFoundation\RedirectResponse | Symfony\Component\HttpFoundation\Response

deleteAction() публичный Метод

Deletes an article entity
public deleteAction ( Request $request, Article $article ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request
$article Ojs\JournalBundle\Entity\Article
Результат Symfony\Component\HttpFoundation\RedirectResponse

editAction() публичный Метод

Displays a form to edit an existing article entity
public editAction ( Article $article ) : Response
$article Ojs\JournalBundle\Entity\Article
Результат Symfony\Component\HttpFoundation\Response

indexAction() публичный Метод

Lists all article entities for journal
public indexAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
Результат Symfony\Component\HttpFoundation\Response

newAction() публичный Метод

Displays a form to create a new article entity
public newAction ( ) : Response
Результат Symfony\Component\HttpFoundation\Response

showAction() публичный Метод

Finds and displays an article entity
public showAction ( Article $article ) : Response
$article Ojs\JournalBundle\Entity\Article
Результат Symfony\Component\HttpFoundation\Response

updateAction() публичный Метод

Edits an existing Article entity.
public updateAction ( Request $request, Article $article ) : RedirectResponse | Response
$request Symfony\Component\HttpFoundation\Request
$article Ojs\JournalBundle\Entity\Article
Результат Symfony\Component\HttpFoundation\RedirectResponse | Symfony\Component\HttpFoundation\Response