PHP Класс Newscoop\GimmeBundle\Controller\EditorialCommentsApiController

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

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

Метод Описание
createCommentAction ( Request $request, $number, $language ) Create editorial comments
editCommentAction ( Request $request, $number, $language, $commentId ) Edit editorial comments
getCommentAction ( Request $request, $number, $language, $commentId ) Get single editorial comment
getCommentsAction ( Request $request, $number, $language, $order ) Get editorial comments
removeCommentAction ( Request $request, $number, $language, $commentId ) Edit editorial comments

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

Метод Описание
processForm ( Request $request, $articleNumber = null, $languageId = null, $commentId = null ) : Form Process editorial comments form

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

createCommentAction() публичный метод

Create editorial comments
public createCommentAction ( Request $request, $number, $language )
$request Symfony\Component\HttpFoundation\Request

editCommentAction() публичный метод

Edit editorial comments
public editCommentAction ( Request $request, $number, $language, $commentId )
$request Symfony\Component\HttpFoundation\Request

getCommentAction() публичный метод

Get single editorial comment
public getCommentAction ( Request $request, $number, $language, $commentId )
$request Symfony\Component\HttpFoundation\Request

getCommentsAction() публичный метод

Get editorial comments
public getCommentsAction ( Request $request, $number, $language, $order )
$request Symfony\Component\HttpFoundation\Request

removeCommentAction() публичный метод

Edit editorial comments
public removeCommentAction ( Request $request, $number, $language, $commentId )
$request Symfony\Component\HttpFoundation\Request