{"action":"created","comment":{"url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/pulls/comments/27369195","id":27369195,"diff_hunk":"@@ -0,0 +1,96 @@\n+<?php\n+namespace BootstrapUI\\View\\Helper;\n+\n+use Cake\\View\\View;\n+\n+class PaginatorHelper extends \\Cake\\View\\Helper\\PaginatorHelper\n+{\n+\n+    /**\n+     * Constructor. Overridden to merge passed args with URL options.\n+     *\n+     * @param \\Cake\\View\\View $View The View this helper is being attached to.\n+     * @param array $config Configuration settings for the helper.\n+     */\n+    public function __construct(View $View, array $config = [])\n+    {\n+        $this->_defaultConfig['templates'] = [\n+            'nextActive' => '<li class=\"next\"><a rel=\"next\" aria-label=\"Next\" href=\"{{url}}\">' .\n+                            '<span aria-hidden=\"true\">{{text}}</span></a></li>',\n+            'nextDisabled' => '<li class=\"next disabled\"><a href=\"\"><span aria-hidden=\"true\">{{text}}</span></a></li>',\n+            'prevActive' => '<li class=\"prev\"><a rel=\"prev\" aria-label=\"Previous\" href=\"{{url}}\">' .\n+                            '<span aria-hidden=\"true\">{{text}}</span></a></li>',\n+            'prevDisabled' => '<li class=\"prev disabled\"><a href=\"\"><span aria-hidden=\"true\">{{text}}</span></a></li>',\n+            'current' => '<li class=\"active\">{{text}} <span class=\"sr-only\">(current)</span></li>',","path":"src/View/Helper/PaginatorHelper.php","position":24,"original_position":24,"commit_id":"2309de5627363b06b2f02dd651d5d8587600e772","original_commit_id":"2309de5627363b06b2f02dd651d5d8587600e772","user":{"login":"ADmad","id":142658,"avatar_url":"https://avatars.githubusercontent.com/u/142658?v=3","gravatar_id":"","url":"https://api.github.com/users/ADmad","html_url":"https://github.com/ADmad","followers_url":"https://api.github.com/users/ADmad/followers","following_url":"https://api.github.com/users/ADmad/following{/other_user}","gists_url":"https://api.github.com/users/ADmad/gists{/gist_id}","starred_url":"https://api.github.com/users/ADmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADmad/subscriptions","organizations_url":"https://api.github.com/users/ADmad/orgs","repos_url":"https://api.github.com/users/ADmad/repos","events_url":"https://api.github.com/users/ADmad/events{/privacy}","received_events_url":"https://api.github.com/users/ADmad/received_events","type":"User","site_admin":false},"body":"This actually needs to be `<li class=\"active\"><span>{{text}} <span class=\"sr-only\">(current)</span></span></li>`  http://getbootstrap.com/components/#disabled-and-active-states\r\n\r\n[insert obligatory comment about BS and html tag soup]","created_at":"2015-03-30T06:42:37Z","updated_at":"2015-03-30T06:42:37Z","html_url":"https://github.com/FriendsOfCake/bootstrap-ui/pull/33#discussion_r27369195","pull_request_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/pulls/comments/27369195"},"html":{"href":"https://github.com/FriendsOfCake/bootstrap-ui/pull/33#discussion_r27369195"},"pull_request":{"href":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/pulls/33","id":32182643,"html_url":"https://github.com/FriendsOfCake/bootstrap-ui/pull/33","diff_url":"https://github.com/FriendsOfCake/bootstrap-ui/pull/33.diff","patch_url":"https://github.com/FriendsOfCake/bootstrap-ui/pull/33.patch","issue_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/issues/33","number":33,"state":"open","locked":false,"title":"0.3","user":{"login":"jadb","id":33527,"avatar_url":"https://avatars.githubusercontent.com/u/33527?v=3","gravatar_id":"","url":"https://api.github.com/users/jadb","html_url":"https://github.com/jadb","followers_url":"https://api.github.com/users/jadb/followers","following_url":"https://api.github.com/users/jadb/following{/other_user}","gists_url":"https://api.github.com/users/jadb/gists{/gist_id}","starred_url":"https://api.github.com/users/jadb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadb/subscriptions","organizations_url":"https://api.github.com/users/jadb/orgs","repos_url":"https://api.github.com/users/jadb/repos","events_url":"https://api.github.com/users/jadb/events{/privacy}","received_events_url":"https://api.github.com/users/jadb/received_events","type":"User","site_admin":false},"body":"I'll fill this later on with the goals of this refactor.","created_at":"2015-03-29T14:48:10Z","updated_at":"2015-03-30T06:42:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b66ced289c8246bdc921a04db105ed91d486144b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/pulls/33/commits","review_comments_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/pulls/33/comments","review_comment_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/issues/33/comments","statuses_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/statuses/2309de5627363b06b2f02dd651d5d8587600e772","head":{"label":"FriendsOfCake:0.3","ref":"0.3","sha":"2309de5627363b06b2f02dd651d5d8587600e772","user":{"login":"FriendsOfCake","id":5203126,"avatar_url":"https://avatars.githubusercontent.com/u/5203126?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfCake","html_url":"https://github.com/FriendsOfCake","followers_url":"https://api.github.com/users/FriendsOfCake/followers","following_url":"https://api.github.com/users/FriendsOfCake/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfCake/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfCake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfCake/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfCake/orgs","repos_url":"https://api.github.com/users/FriendsOfCake/repos","events_url":"https://api.github.com/users/FriendsOfCake/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfCake/received_events","type":"Organization","site_admin":false},"repo":{"id":28697596,"name":"bootstrap-ui","full_name":"FriendsOfCake/bootstrap-ui","owner":{"login":"FriendsOfCake","id":5203126,"avatar_url":"https://avatars.githubusercontent.com/u/5203126?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfCake","html_url":"https://github.com/FriendsOfCake","followers_url":"https://api.github.com/users/FriendsOfCake/followers","following_url":"https://api.github.com/users/FriendsOfCake/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfCake/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfCake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfCake/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfCake/orgs","repos_url":"https://api.github.com/users/FriendsOfCake/repos","events_url":"https://api.github.com/users/FriendsOfCake/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfCake/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FriendsOfCake/bootstrap-ui","description":"Transparently use Twitter Bootstrap 3 with CakePHP 3","fork":false,"url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui","forks_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/forks","keys_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/teams","hooks_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/hooks","issue_events_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/issues/events{/number}","events_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/events","assignees_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/assignees{/user}","branches_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/branches{/branch}","tags_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/tags","blobs_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/languages","stargazers_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/stargazers","contributors_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/contributors","subscribers_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/subscribers","subscription_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/subscription","commits_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/contents/{+path}","compare_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/merges","archive_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/downloads","issues_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/issues{/number}","pulls_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/labels{/name}","releases_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/releases{/id}","created_at":"2015-01-01T22:44:43Z","updated_at":"2015-03-29T21:10:02Z","pushed_at":"2015-03-30T01:21:21Z","git_url":"git://github.com/FriendsOfCake/bootstrap-ui.git","ssh_url":"git@github.com:FriendsOfCake/bootstrap-ui.git","clone_url":"https://github.com/FriendsOfCake/bootstrap-ui.git","svn_url":"https://github.com/FriendsOfCake/bootstrap-ui","homepage":"","size":587,"stargazers_count":21,"watchers_count":21,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":5,"forks":10,"open_issues":5,"watchers":21,"default_branch":"master"}},"base":{"label":"FriendsOfCake:master","ref":"master","sha":"a6d9c512334807c92bf0cf4815b275f3702a3f7c","user":{"login":"FriendsOfCake","id":5203126,"avatar_url":"https://avatars.githubusercontent.com/u/5203126?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfCake","html_url":"https://github.com/FriendsOfCake","followers_url":"https://api.github.com/users/FriendsOfCake/followers","following_url":"https://api.github.com/users/FriendsOfCake/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfCake/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfCake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfCake/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfCake/orgs","repos_url":"https://api.github.com/users/FriendsOfCake/repos","events_url":"https://api.github.com/users/FriendsOfCake/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfCake/received_events","type":"Organization","site_admin":false},"repo":{"id":28697596,"name":"bootstrap-ui","full_name":"FriendsOfCake/bootstrap-ui","owner":{"login":"FriendsOfCake","id":5203126,"avatar_url":"https://avatars.githubusercontent.com/u/5203126?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfCake","html_url":"https://github.com/FriendsOfCake","followers_url":"https://api.github.com/users/FriendsOfCake/followers","following_url":"https://api.github.com/users/FriendsOfCake/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfCake/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfCake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfCake/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfCake/orgs","repos_url":"https://api.github.com/users/FriendsOfCake/repos","events_url":"https://api.github.com/users/FriendsOfCake/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfCake/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FriendsOfCake/bootstrap-ui","description":"Transparently use Twitter Bootstrap 3 with CakePHP 3","fork":false,"url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui","forks_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/forks","keys_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/teams","hooks_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/hooks","issue_events_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/issues/events{/number}","events_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/events","assignees_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/assignees{/user}","branches_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/branches{/branch}","tags_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/tags","blobs_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/languages","stargazers_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/stargazers","contributors_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/contributors","subscribers_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/subscribers","subscription_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/subscription","commits_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/contents/{+path}","compare_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/merges","archive_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/downloads","issues_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/issues{/number}","pulls_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/labels{/name}","releases_url":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/releases{/id}","created_at":"2015-01-01T22:44:43Z","updated_at":"2015-03-29T21:10:02Z","pushed_at":"2015-03-30T01:21:21Z","git_url":"git://github.com/FriendsOfCake/bootstrap-ui.git","ssh_url":"git@github.com:FriendsOfCake/bootstrap-ui.git","clone_url":"https://github.com/FriendsOfCake/bootstrap-ui.git","svn_url":"https://github.com/FriendsOfCake/bootstrap-ui","homepage":"","size":587,"stargazers_count":21,"watchers_count":21,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":5,"forks":10,"open_issues":5,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/pulls/33"},"html":{"href":"https://github.com/FriendsOfCake/bootstrap-ui/pull/33"},"issue":{"href":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/issues/33"},"comments":{"href":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/FriendsOfCake/bootstrap-ui/statuses/2309de5627363b06b2f02dd651d5d8587600e772"}}}}