{"action":"created","comment":{"url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/pulls/comments/22516189","id":22516189,"diff_hunk":"@@ -246,5 +246,34 @@ public static function get_all_post_comments($post_id) {\n \t\t\treturn $ex->getMessage();\n \t\t}\n \t}\n+\n+\t/*\n+\t* method use to get all comments of a author_id\n+\t* @param input is author_id","path":"src/fuel/app/classes/model/v1/comment.php","position":7,"original_position":7,"commit_id":"e300c64113576c96849d5895d08d62ddd7e07a51","original_commit_id":"e300c64113576c96849d5895d08d62ddd7e07a51","user":{"login":"truong-vu-mulodo","id":5010362,"avatar_url":"https://avatars.githubusercontent.com/u/5010362?v=3","gravatar_id":"","url":"https://api.github.com/users/truong-vu-mulodo","html_url":"https://github.com/truong-vu-mulodo","followers_url":"https://api.github.com/users/truong-vu-mulodo/followers","following_url":"https://api.github.com/users/truong-vu-mulodo/following{/other_user}","gists_url":"https://api.github.com/users/truong-vu-mulodo/gists{/gist_id}","starred_url":"https://api.github.com/users/truong-vu-mulodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/truong-vu-mulodo/subscriptions","organizations_url":"https://api.github.com/users/truong-vu-mulodo/orgs","repos_url":"https://api.github.com/users/truong-vu-mulodo/repos","events_url":"https://api.github.com/users/truong-vu-mulodo/events{/privacy}","received_events_url":"https://api.github.com/users/truong-vu-mulodo/received_events","type":"User","site_admin":false},"body":"The better doccument (just note):\r\n@param $author_id The system id of a target user.","created_at":"2015-01-06T10:03:18Z","updated_at":"2015-01-06T10:03:18Z","html_url":"https://github.com/Mulodo-PHP-Training/miniblog-lam.vy/pull/17#discussion_r22516189","pull_request_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/pulls/comments/22516189"},"html":{"href":"https://github.com/Mulodo-PHP-Training/miniblog-lam.vy/pull/17#discussion_r22516189"},"pull_request":{"href":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/pulls/17","id":26877938,"html_url":"https://github.com/Mulodo-PHP-Training/miniblog-lam.vy/pull/17","diff_url":"https://github.com/Mulodo-PHP-Training/miniblog-lam.vy/pull/17.diff","patch_url":"https://github.com/Mulodo-PHP-Training/miniblog-lam.vy/pull/17.patch","issue_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/issues/17","number":17,"state":"open","locked":false,"title":"coding_18851_get_all_user_comments","user":{"login":"lam-vy-mulodo","id":9794226,"avatar_url":"https://avatars.githubusercontent.com/u/9794226?v=3","gravatar_id":"","url":"https://api.github.com/users/lam-vy-mulodo","html_url":"https://github.com/lam-vy-mulodo","followers_url":"https://api.github.com/users/lam-vy-mulodo/followers","following_url":"https://api.github.com/users/lam-vy-mulodo/following{/other_user}","gists_url":"https://api.github.com/users/lam-vy-mulodo/gists{/gist_id}","starred_url":"https://api.github.com/users/lam-vy-mulodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lam-vy-mulodo/subscriptions","organizations_url":"https://api.github.com/users/lam-vy-mulodo/orgs","repos_url":"https://api.github.com/users/lam-vy-mulodo/repos","events_url":"https://api.github.com/users/lam-vy-mulodo/events{/privacy}","received_events_url":"https://api.github.com/users/lam-vy-mulodo/received_events","type":"User","site_admin":false},"body":"- [x] coding functions\r\n    - [x] create get_all_user_comment in controller\r\n    - [x] create get_all_user_comment in model\r\n- [x] unit testing\r\n    - [x] create test_get_all_user_comments_ok in model\r\n    - [x] create test_get_all_user_comments_notok in model\r\n    - [x] create test_get_all_user_comments_ok in controller\r\n    - [x] create test_get_all_user_comments_notok in controller","created_at":"2015-01-06T09:28:27Z","updated_at":"2015-01-06T10:03:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2dd3de1e6b3ffe2571b7e141e9154e5ed1fb8142","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/pulls/17/commits","review_comments_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/pulls/17/comments","review_comment_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/issues/17/comments","statuses_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/statuses/e300c64113576c96849d5895d08d62ddd7e07a51","head":{"label":"Mulodo-PHP-Training:coding_18851_get_all_user_comments","ref":"coding_18851_get_all_user_comments","sha":"e300c64113576c96849d5895d08d62ddd7e07a51","user":{"login":"Mulodo-PHP-Training","id":10279652,"avatar_url":"https://avatars.githubusercontent.com/u/10279652?v=3","gravatar_id":"","url":"https://api.github.com/users/Mulodo-PHP-Training","html_url":"https://github.com/Mulodo-PHP-Training","followers_url":"https://api.github.com/users/Mulodo-PHP-Training/followers","following_url":"https://api.github.com/users/Mulodo-PHP-Training/following{/other_user}","gists_url":"https://api.github.com/users/Mulodo-PHP-Training/gists{/gist_id}","starred_url":"https://api.github.com/users/Mulodo-PHP-Training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mulodo-PHP-Training/subscriptions","organizations_url":"https://api.github.com/users/Mulodo-PHP-Training/orgs","repos_url":"https://api.github.com/users/Mulodo-PHP-Training/repos","events_url":"https://api.github.com/users/Mulodo-PHP-Training/events{/privacy}","received_events_url":"https://api.github.com/users/Mulodo-PHP-Training/received_events","type":"Organization","site_admin":false},"repo":{"id":28429917,"name":"miniblog-lam.vy","full_name":"Mulodo-PHP-Training/miniblog-lam.vy","owner":{"login":"Mulodo-PHP-Training","id":10279652,"avatar_url":"https://avatars.githubusercontent.com/u/10279652?v=3","gravatar_id":"","url":"https://api.github.com/users/Mulodo-PHP-Training","html_url":"https://github.com/Mulodo-PHP-Training","followers_url":"https://api.github.com/users/Mulodo-PHP-Training/followers","following_url":"https://api.github.com/users/Mulodo-PHP-Training/following{/other_user}","gists_url":"https://api.github.com/users/Mulodo-PHP-Training/gists{/gist_id}","starred_url":"https://api.github.com/users/Mulodo-PHP-Training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mulodo-PHP-Training/subscriptions","organizations_url":"https://api.github.com/users/Mulodo-PHP-Training/orgs","repos_url":"https://api.github.com/users/Mulodo-PHP-Training/repos","events_url":"https://api.github.com/users/Mulodo-PHP-Training/events{/privacy}","received_events_url":"https://api.github.com/users/Mulodo-PHP-Training/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Mulodo-PHP-Training/miniblog-lam.vy","description":"Mini blog system PHP training (Vy Lam)","fork":false,"url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy","forks_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/forks","keys_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/teams","hooks_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/hooks","issue_events_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/issues/events{/number}","events_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/events","assignees_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/assignees{/user}","branches_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/branches{/branch}","tags_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/tags","blobs_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/statuses/{sha}","languages_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/languages","stargazers_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/stargazers","contributors_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/contributors","subscribers_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/subscribers","subscription_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/subscription","commits_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/issues/comments/{number}","contents_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/contents/{+path}","compare_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/merges","archive_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/downloads","issues_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/issues{/number}","pulls_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/pulls{/number}","milestones_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/milestones{/number}","notifications_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/labels{/name}","releases_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/releases{/id}","created_at":"2014-12-24T02:16:51Z","updated_at":"2015-01-06T08:55:55Z","pushed_at":"2015-01-06T09:57:10Z","git_url":"git://github.com/Mulodo-PHP-Training/miniblog-lam.vy.git","ssh_url":"git@github.com:Mulodo-PHP-Training/miniblog-lam.vy.git","clone_url":"https://github.com/Mulodo-PHP-Training/miniblog-lam.vy.git","svn_url":"https://github.com/Mulodo-PHP-Training/miniblog-lam.vy","homepage":"","size":51724,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Mulodo-PHP-Training:master","ref":"master","sha":"d7ced05a71aa44034413b7c2843c32007aec0e1d","user":{"login":"Mulodo-PHP-Training","id":10279652,"avatar_url":"https://avatars.githubusercontent.com/u/10279652?v=3","gravatar_id":"","url":"https://api.github.com/users/Mulodo-PHP-Training","html_url":"https://github.com/Mulodo-PHP-Training","followers_url":"https://api.github.com/users/Mulodo-PHP-Training/followers","following_url":"https://api.github.com/users/Mulodo-PHP-Training/following{/other_user}","gists_url":"https://api.github.com/users/Mulodo-PHP-Training/gists{/gist_id}","starred_url":"https://api.github.com/users/Mulodo-PHP-Training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mulodo-PHP-Training/subscriptions","organizations_url":"https://api.github.com/users/Mulodo-PHP-Training/orgs","repos_url":"https://api.github.com/users/Mulodo-PHP-Training/repos","events_url":"https://api.github.com/users/Mulodo-PHP-Training/events{/privacy}","received_events_url":"https://api.github.com/users/Mulodo-PHP-Training/received_events","type":"Organization","site_admin":false},"repo":{"id":28429917,"name":"miniblog-lam.vy","full_name":"Mulodo-PHP-Training/miniblog-lam.vy","owner":{"login":"Mulodo-PHP-Training","id":10279652,"avatar_url":"https://avatars.githubusercontent.com/u/10279652?v=3","gravatar_id":"","url":"https://api.github.com/users/Mulodo-PHP-Training","html_url":"https://github.com/Mulodo-PHP-Training","followers_url":"https://api.github.com/users/Mulodo-PHP-Training/followers","following_url":"https://api.github.com/users/Mulodo-PHP-Training/following{/other_user}","gists_url":"https://api.github.com/users/Mulodo-PHP-Training/gists{/gist_id}","starred_url":"https://api.github.com/users/Mulodo-PHP-Training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mulodo-PHP-Training/subscriptions","organizations_url":"https://api.github.com/users/Mulodo-PHP-Training/orgs","repos_url":"https://api.github.com/users/Mulodo-PHP-Training/repos","events_url":"https://api.github.com/users/Mulodo-PHP-Training/events{/privacy}","received_events_url":"https://api.github.com/users/Mulodo-PHP-Training/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Mulodo-PHP-Training/miniblog-lam.vy","description":"Mini blog system PHP training (Vy Lam)","fork":false,"url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy","forks_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/forks","keys_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/teams","hooks_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/hooks","issue_events_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/issues/events{/number}","events_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/events","assignees_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/assignees{/user}","branches_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/branches{/branch}","tags_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/tags","blobs_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/statuses/{sha}","languages_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/languages","stargazers_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/stargazers","contributors_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/contributors","subscribers_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/subscribers","subscription_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/subscription","commits_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/issues/comments/{number}","contents_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/contents/{+path}","compare_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/merges","archive_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/downloads","issues_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/issues{/number}","pulls_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/pulls{/number}","milestones_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/milestones{/number}","notifications_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/labels{/name}","releases_url":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/releases{/id}","created_at":"2014-12-24T02:16:51Z","updated_at":"2015-01-06T08:55:55Z","pushed_at":"2015-01-06T09:57:10Z","git_url":"git://github.com/Mulodo-PHP-Training/miniblog-lam.vy.git","ssh_url":"git@github.com:Mulodo-PHP-Training/miniblog-lam.vy.git","clone_url":"https://github.com/Mulodo-PHP-Training/miniblog-lam.vy.git","svn_url":"https://github.com/Mulodo-PHP-Training/miniblog-lam.vy","homepage":"","size":51724,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/pulls/17"},"html":{"href":"https://github.com/Mulodo-PHP-Training/miniblog-lam.vy/pull/17"},"issue":{"href":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/issues/17"},"comments":{"href":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/Mulodo-PHP-Training/miniblog-lam.vy/statuses/e300c64113576c96849d5895d08d62ddd7e07a51"}}}}