Метод | Описание | |
---|---|---|
deleteCommentAction ( integer $id ) : FOS\RestBundle\View\View | Removes a comment. | |
deletePostAction ( integer $id ) : FOS\RestBundle\View\View | Removes a post. | |
editCommentAction ( |
Partial update of an existing Comment. | |
editCommentFormAction ( $id ) : FOS\RestBundle\View\View | Presents the form for partial update of an existing Comment. | |
editPostAction ( |
Partial update of an existing Post. | |
editPostFormAction ( $id ) : FOS\RestBundle\View\View | Presents the form for partial update of an existing Post. | |
getCommentAction ( integer $id ) : FOS\RestBundle\View\View | Get a specific comment. | |
getCommentsAction ( ) : FOS\RestBundle\View\View | List all comments. | |
getCommentsFromPostAction ( integer $id ) : FOS\RestBundle\View\View | List all comments from a post. | |
getPostAction ( integer $id ) : FOS\RestBundle\View\View | Get a specific post. | |
getPostsAction ( ) : FOS\RestBundle\View\View | List all posts. | |
indexApiAction ( ) : FOS\RestBundle\View\View | List all resources available. | |
newCommentAction ( |
Creates a new comment from the submitted data. | |
newCommentFormAction ( ) : |
Presents the form to use to create a new comment. | |
newPostAction ( |
Creates a new post from the submitted data. | |
newPostFormAction ( ) : |
Presents the form to use to create a new post. | |
updateCommentAction ( |
Update existing comment from the submitted data or create a new comment at a specific location. | |
updatePostAction ( |
Update existing post from the submitted data or create a new post at a specific location. |
public deleteCommentAction ( integer $id ) : FOS\RestBundle\View\View | ||
$id | integer | |
Результат | FOS\RestBundle\View\View |
public deletePostAction ( integer $id ) : FOS\RestBundle\View\View | ||
$id | integer | |
Результат | FOS\RestBundle\View\View |
public editCommentAction ( |
||
$request | ||
$id | ||
Результат | FOS\RestBundle\View\View | |
public editCommentFormAction ( $id ) : FOS\RestBundle\View\View | ||
$id | ||
Результат | FOS\RestBundle\View\View |
public editPostAction ( |
||
$request | ||
$id | integer | |
Результат | FOS\RestBundle\View\View |
public editPostFormAction ( $id ) : FOS\RestBundle\View\View | ||
$id | ||
Результат | FOS\RestBundle\View\View |
public getCommentAction ( integer $id ) : FOS\RestBundle\View\View | ||
$id | integer | |
Результат | FOS\RestBundle\View\View |
public getCommentsAction ( ) : FOS\RestBundle\View\View | ||
Результат | FOS\RestBundle\View\View |
public getCommentsFromPostAction ( integer $id ) : FOS\RestBundle\View\View | ||
$id | integer | |
Результат | FOS\RestBundle\View\View |
public getPostAction ( integer $id ) : FOS\RestBundle\View\View | ||
$id | integer | |
Результат | FOS\RestBundle\View\View |
public getPostsAction ( ) : FOS\RestBundle\View\View | ||
Результат | FOS\RestBundle\View\View |
public indexApiAction ( ) : FOS\RestBundle\View\View | ||
Результат | FOS\RestBundle\View\View |
public newCommentAction ( |
||
$request | ||
$id | integer | |
Результат | FOS\RestBundle\View\View |
public newCommentFormAction ( ) : |
||
Результат |
public newPostAction ( |
||
$request | ||
Результат | FOS\RestBundle\View\View |
public newPostFormAction ( ) : |
||
Результат |
public updateCommentAction ( |
||
$request | ||
$id | integer | |
Результат | FOS\RestBundle\View\View | |
public updatePostAction ( |
||
$request | ||
$id | integer | |
Результат | FOS\RestBundle\View\View |