{"action":"created","issue":{"url":"https://api.github.com/repos/CakeDC/Enum/issues/13","labels_url":"https://api.github.com/repos/CakeDC/Enum/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/CakeDC/Enum/issues/13/comments","events_url":"https://api.github.com/repos/CakeDC/Enum/issues/13/events","html_url":"https://github.com/CakeDC/Enum/issues/13","id":120525209,"number":13,"title":"Enum Helper","user":{"login":"Ali1","id":218558,"avatar_url":"https://avatars.githubusercontent.com/u/218558?v=3","gravatar_id":"","url":"https://api.github.com/users/Ali1","html_url":"https://github.com/Ali1","followers_url":"https://api.github.com/users/Ali1/followers","following_url":"https://api.github.com/users/Ali1/following{/other_user}","gists_url":"https://api.github.com/users/Ali1/gists{/gist_id}","starred_url":"https://api.github.com/users/Ali1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ali1/subscriptions","organizations_url":"https://api.github.com/users/Ali1/orgs","repos_url":"https://api.github.com/users/Ali1/repos","events_url":"https://api.github.com/users/Ali1/events{/privacy}","received_events_url":"https://api.github.com/users/Ali1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-05T03:14:33Z","updated_at":"2015-12-05T03:18:10Z","closed_at":null,"body":"Would having an emum helper to pull the enum configuration into a view be useful or is there a better way of doing this?"},"comment":{"url":"https://api.github.com/repos/CakeDC/Enum/issues/comments/162135354","html_url":"https://github.com/CakeDC/Enum/issues/13#issuecomment-162135354","issue_url":"https://api.github.com/repos/CakeDC/Enum/issues/13","id":162135354,"user":{"login":"Ali1","id":218558,"avatar_url":"https://avatars.githubusercontent.com/u/218558?v=3","gravatar_id":"","url":"https://api.github.com/users/Ali1","html_url":"https://github.com/Ali1","followers_url":"https://api.github.com/users/Ali1/followers","following_url":"https://api.github.com/users/Ali1/following{/other_user}","gists_url":"https://api.github.com/users/Ali1/gists{/gist_id}","starred_url":"https://api.github.com/users/Ali1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ali1/subscriptions","organizations_url":"https://api.github.com/users/Ali1/orgs","repos_url":"https://api.github.com/users/Ali1/repos","events_url":"https://api.github.com/users/Ali1/events{/privacy}","received_events_url":"https://api.github.com/users/Ali1/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T03:18:10Z","updated_at":"2015-12-05T03:18:10Z","body":"Currently using:\r\n`$LeadsTable = new App\\Model\\Table\\LeadsTable;`\r\n`echo $this->Form->input('type', ['options' => $LeadsTable->enum('type')]);`"}}