{"action":"created","comment":{"url":"https://api.github.com/repos/aevmenchik/drupal_questionary/pulls/comments/166292180","pull_request_review_id":94331235,"id":166292180,"diff_hunk":"@@ -0,0 +1,664 @@\n+<?php\n+\n+namespace Drupal\\questionary\\Entity;\n+\n+\n+\n+class QuestionaryData\n+{\n+    /**\n+     * Questionary object\n+     *\n+     * @var Questionary\n+     */\n+    protected $_questionary;\n+    /**\n+     * Questionary field kinds array\n+     *\n+     * @var array\n+     */\n+    private $_field_kinds;\n+\n+\n+    /**\n+     * Return list of coworkers for HR view\n+     *\n+     * @return array\n+     */\n+    public function getCoworkersListForHR()\n+    {\n+        $select = '\n+            select cw.cw_user_id, cw.cw_user_name, cw.cw_date_create, qu_tl2.date_create as tl_date_create, ufd_tl.name as tl_user_name,","path":"modules/questionary/src/Entity/QuestionaryData.php","position":31,"original_position":31,"commit_id":"519510a41e162da2208e751fc70269e51c7e07b5","original_commit_id":"519510a41e162da2208e751fc70269e51c7e07b5","user":{"login":"MrCoast","id":6727613,"avatar_url":"https://avatars1.githubusercontent.com/u/6727613?v=4","gravatar_id":"","url":"https://api.github.com/users/MrCoast","html_url":"https://github.com/MrCoast","followers_url":"https://api.github.com/users/MrCoast/followers","following_url":"https://api.github.com/users/MrCoast/following{/other_user}","gists_url":"https://api.github.com/users/MrCoast/gists{/gist_id}","starred_url":"https://api.github.com/users/MrCoast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrCoast/subscriptions","organizations_url":"https://api.github.com/users/MrCoast/orgs","repos_url":"https://api.github.com/users/MrCoast/repos","events_url":"https://api.github.com/users/MrCoast/events{/privacy}","received_events_url":"https://api.github.com/users/MrCoast/received_events","type":"User","site_admin":false},"body":"переписать на DBAL\r\nне должно быть захардкожено имя БД","created_at":"2018-02-06T13:13:15Z","updated_at":"2018-02-06T13:29:08Z","html_url":"https://github.com/aevmenchik/drupal_questionary/pull/1#discussion_r166292180","pull_request_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/aevmenchik/drupal_questionary/pulls/comments/166292180"},"html":{"href":"https://github.com/aevmenchik/drupal_questionary/pull/1#discussion_r166292180"},"pull_request":{"href":"https://api.github.com/repos/aevmenchik/drupal_questionary/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/aevmenchik/drupal_questionary/pulls/1","id":167108355,"html_url":"https://github.com/aevmenchik/drupal_questionary/pull/1","diff_url":"https://github.com/aevmenchik/drupal_questionary/pull/1.diff","patch_url":"https://github.com/aevmenchik/drupal_questionary/pull/1.patch","issue_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/issues/1","number":1,"state":"open","locked":false,"title":"Create questionary module","user":{"login":"aevmenchik","id":34269964,"avatar_url":"https://avatars0.githubusercontent.com/u/34269964?v=4","gravatar_id":"","url":"https://api.github.com/users/aevmenchik","html_url":"https://github.com/aevmenchik","followers_url":"https://api.github.com/users/aevmenchik/followers","following_url":"https://api.github.com/users/aevmenchik/following{/other_user}","gists_url":"https://api.github.com/users/aevmenchik/gists{/gist_id}","starred_url":"https://api.github.com/users/aevmenchik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aevmenchik/subscriptions","organizations_url":"https://api.github.com/users/aevmenchik/orgs","repos_url":"https://api.github.com/users/aevmenchik/repos","events_url":"https://api.github.com/users/aevmenchik/events{/privacy}","received_events_url":"https://api.github.com/users/aevmenchik/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-05T10:34:41Z","updated_at":"2018-02-06T13:29:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aa9dbc59266bdaf9bc20b520e56b4b3b91ced914","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/pulls/1/commits","review_comments_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/pulls/1/comments","review_comment_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/issues/1/comments","statuses_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/statuses/519510a41e162da2208e751fc70269e51c7e07b5","head":{"label":"aevmenchik:forms","ref":"forms","sha":"519510a41e162da2208e751fc70269e51c7e07b5","user":{"login":"aevmenchik","id":34269964,"avatar_url":"https://avatars0.githubusercontent.com/u/34269964?v=4","gravatar_id":"","url":"https://api.github.com/users/aevmenchik","html_url":"https://github.com/aevmenchik","followers_url":"https://api.github.com/users/aevmenchik/followers","following_url":"https://api.github.com/users/aevmenchik/following{/other_user}","gists_url":"https://api.github.com/users/aevmenchik/gists{/gist_id}","starred_url":"https://api.github.com/users/aevmenchik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aevmenchik/subscriptions","organizations_url":"https://api.github.com/users/aevmenchik/orgs","repos_url":"https://api.github.com/users/aevmenchik/repos","events_url":"https://api.github.com/users/aevmenchik/events{/privacy}","received_events_url":"https://api.github.com/users/aevmenchik/received_events","type":"User","site_admin":false},"repo":{"id":120000078,"name":"drupal_questionary","full_name":"aevmenchik/drupal_questionary","owner":{"login":"aevmenchik","id":34269964,"avatar_url":"https://avatars0.githubusercontent.com/u/34269964?v=4","gravatar_id":"","url":"https://api.github.com/users/aevmenchik","html_url":"https://github.com/aevmenchik","followers_url":"https://api.github.com/users/aevmenchik/followers","following_url":"https://api.github.com/users/aevmenchik/following{/other_user}","gists_url":"https://api.github.com/users/aevmenchik/gists{/gist_id}","starred_url":"https://api.github.com/users/aevmenchik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aevmenchik/subscriptions","organizations_url":"https://api.github.com/users/aevmenchik/orgs","repos_url":"https://api.github.com/users/aevmenchik/repos","events_url":"https://api.github.com/users/aevmenchik/events{/privacy}","received_events_url":"https://api.github.com/users/aevmenchik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aevmenchik/drupal_questionary","description":null,"fork":false,"url":"https://api.github.com/repos/aevmenchik/drupal_questionary","forks_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/forks","keys_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/teams","hooks_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/hooks","issue_events_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/issues/events{/number}","events_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/events","assignees_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/assignees{/user}","branches_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/branches{/branch}","tags_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/tags","blobs_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/git/refs{/sha}","trees_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/statuses/{sha}","languages_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/languages","stargazers_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/stargazers","contributors_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/contributors","subscribers_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/subscribers","subscription_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/subscription","commits_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/commits{/sha}","git_commits_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/git/commits{/sha}","comments_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/comments{/number}","issue_comment_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/issues/comments{/number}","contents_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/contents/{+path}","compare_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/merges","archive_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/downloads","issues_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/issues{/number}","pulls_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/pulls{/number}","milestones_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/milestones{/number}","notifications_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/labels{/name}","releases_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/releases{/id}","deployments_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/deployments","created_at":"2018-02-02T15:46:41Z","updated_at":"2018-02-02T16:23:07Z","pushed_at":"2018-02-05T10:34:42Z","git_url":"git://github.com/aevmenchik/drupal_questionary.git","ssh_url":"git@github.com:aevmenchik/drupal_questionary.git","clone_url":"https://github.com/aevmenchik/drupal_questionary.git","svn_url":"https://github.com/aevmenchik/drupal_questionary","homepage":null,"size":17947,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"aevmenchik:master","ref":"master","sha":"f774c3d70e8a0a0be59617a419316dd88df604aa","user":{"login":"aevmenchik","id":34269964,"avatar_url":"https://avatars0.githubusercontent.com/u/34269964?v=4","gravatar_id":"","url":"https://api.github.com/users/aevmenchik","html_url":"https://github.com/aevmenchik","followers_url":"https://api.github.com/users/aevmenchik/followers","following_url":"https://api.github.com/users/aevmenchik/following{/other_user}","gists_url":"https://api.github.com/users/aevmenchik/gists{/gist_id}","starred_url":"https://api.github.com/users/aevmenchik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aevmenchik/subscriptions","organizations_url":"https://api.github.com/users/aevmenchik/orgs","repos_url":"https://api.github.com/users/aevmenchik/repos","events_url":"https://api.github.com/users/aevmenchik/events{/privacy}","received_events_url":"https://api.github.com/users/aevmenchik/received_events","type":"User","site_admin":false},"repo":{"id":120000078,"name":"drupal_questionary","full_name":"aevmenchik/drupal_questionary","owner":{"login":"aevmenchik","id":34269964,"avatar_url":"https://avatars0.githubusercontent.com/u/34269964?v=4","gravatar_id":"","url":"https://api.github.com/users/aevmenchik","html_url":"https://github.com/aevmenchik","followers_url":"https://api.github.com/users/aevmenchik/followers","following_url":"https://api.github.com/users/aevmenchik/following{/other_user}","gists_url":"https://api.github.com/users/aevmenchik/gists{/gist_id}","starred_url":"https://api.github.com/users/aevmenchik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aevmenchik/subscriptions","organizations_url":"https://api.github.com/users/aevmenchik/orgs","repos_url":"https://api.github.com/users/aevmenchik/repos","events_url":"https://api.github.com/users/aevmenchik/events{/privacy}","received_events_url":"https://api.github.com/users/aevmenchik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aevmenchik/drupal_questionary","description":null,"fork":false,"url":"https://api.github.com/repos/aevmenchik/drupal_questionary","forks_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/forks","keys_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/teams","hooks_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/hooks","issue_events_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/issues/events{/number}","events_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/events","assignees_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/assignees{/user}","branches_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/branches{/branch}","tags_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/tags","blobs_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/git/refs{/sha}","trees_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/statuses/{sha}","languages_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/languages","stargazers_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/stargazers","contributors_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/contributors","subscribers_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/subscribers","subscription_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/subscription","commits_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/commits{/sha}","git_commits_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/git/commits{/sha}","comments_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/comments{/number}","issue_comment_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/issues/comments{/number}","contents_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/contents/{+path}","compare_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/merges","archive_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/downloads","issues_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/issues{/number}","pulls_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/pulls{/number}","milestones_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/milestones{/number}","notifications_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/labels{/name}","releases_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/releases{/id}","deployments_url":"https://api.github.com/repos/aevmenchik/drupal_questionary/deployments","created_at":"2018-02-02T15:46:41Z","updated_at":"2018-02-02T16:23:07Z","pushed_at":"2018-02-05T10:34:42Z","git_url":"git://github.com/aevmenchik/drupal_questionary.git","ssh_url":"git@github.com:aevmenchik/drupal_questionary.git","clone_url":"https://github.com/aevmenchik/drupal_questionary.git","svn_url":"https://github.com/aevmenchik/drupal_questionary","homepage":null,"size":17947,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aevmenchik/drupal_questionary/pulls/1"},"html":{"href":"https://github.com/aevmenchik/drupal_questionary/pull/1"},"issue":{"href":"https://api.github.com/repos/aevmenchik/drupal_questionary/issues/1"},"comments":{"href":"https://api.github.com/repos/aevmenchik/drupal_questionary/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/aevmenchik/drupal_questionary/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/aevmenchik/drupal_questionary/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aevmenchik/drupal_questionary/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/aevmenchik/drupal_questionary/statuses/519510a41e162da2208e751fc70269e51c7e07b5"}},"author_association":"OWNER"}}
{"actor":{"display_login":"MrCoast"}}