PHP Класс Ojs\AdminBundle\Controller\AdminPostController

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

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

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

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

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

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

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

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

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

Deletes a Post entity.
public deleteAction ( Request $request, AdminPost $entity ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request
$entity Ojs\AdminBundle\Entity\AdminPost
Результат Symfony\Component\HttpFoundation\RedirectResponse

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

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

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

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

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

Displays a form to create a new Post entity.
public newAction ( )

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

Finds and displays a Post entity.
public showAction ( AdminPost $entity ) : Response
$entity Ojs\AdminBundle\Entity\AdminPost
Результат Symfony\Component\HttpFoundation\Response

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

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