PHP Class Newscoop\GimmeBundle\Controller\EditorialCommentsApiController

Inheritance: extends FOS\RestBundle\Controller\FOSRestController
ファイルを表示 Open project: sourcefabric/newscoop

Public Methods

Method Description
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

Private Methods

Method Description
processForm ( Request $request, $articleNumber = null, $languageId = null, $commentId = null ) : Form Process editorial comments form

Method Details

createCommentAction() public method

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

editCommentAction() public method

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

getCommentAction() public method

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

getCommentsAction() public method

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

removeCommentAction() public method

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