{"action":"created","issue":{"url":"https://api.github.com/repos/eileenmcnaughton/civicrm_entity/issues/35","labels_url":"https://api.github.com/repos/eileenmcnaughton/civicrm_entity/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/eileenmcnaughton/civicrm_entity/issues/35/comments","events_url":"https://api.github.com/repos/eileenmcnaughton/civicrm_entity/issues/35/events","html_url":"https://github.com/eileenmcnaughton/civicrm_entity/pull/35","id":53235055,"number":35,"title":"better formatter code organization, some contribution entity fields display formatters","user":{"login":"jackrabbithanna","id":1508311,"avatar_url":"https://avatars.githubusercontent.com/u/1508311?v=3","gravatar_id":"","url":"https://api.github.com/users/jackrabbithanna","html_url":"https://github.com/jackrabbithanna","followers_url":"https://api.github.com/users/jackrabbithanna/followers","following_url":"https://api.github.com/users/jackrabbithanna/following{/other_user}","gists_url":"https://api.github.com/users/jackrabbithanna/gists{/gist_id}","starred_url":"https://api.github.com/users/jackrabbithanna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackrabbithanna/subscriptions","organizations_url":"https://api.github.com/users/jackrabbithanna/orgs","repos_url":"https://api.github.com/users/jackrabbithanna/repos","events_url":"https://api.github.com/users/jackrabbithanna/events{/privacy}","received_events_url":"https://api.github.com/users/jackrabbithanna/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-02T02:36:28Z","updated_at":"2015-01-02T16:38:36Z","closed_at":"2015-01-02T07:15:10Z","pull_request":{"url":"https://api.github.com/repos/eileenmcnaughton/civicrm_entity/pulls/35","html_url":"https://github.com/eileenmcnaughton/civicrm_entity/pull/35","diff_url":"https://github.com/eileenmcnaughton/civicrm_entity/pull/35.diff","patch_url":"https://github.com/eileenmcnaughton/civicrm_entity/pull/35.patch"},"body":"also a better way to do the link formatters...\r\n\r\nand bug fixes"},"comment":{"url":"https://api.github.com/repos/eileenmcnaughton/civicrm_entity/issues/comments/68540261","html_url":"https://github.com/eileenmcnaughton/civicrm_entity/pull/35#issuecomment-68540261","issue_url":"https://api.github.com/repos/eileenmcnaughton/civicrm_entity/issues/35","id":68540261,"user":{"login":"jackrabbithanna","id":1508311,"avatar_url":"https://avatars.githubusercontent.com/u/1508311?v=3","gravatar_id":"","url":"https://api.github.com/users/jackrabbithanna","html_url":"https://github.com/jackrabbithanna","followers_url":"https://api.github.com/users/jackrabbithanna/followers","following_url":"https://api.github.com/users/jackrabbithanna/following{/other_user}","gists_url":"https://api.github.com/users/jackrabbithanna/gists{/gist_id}","starred_url":"https://api.github.com/users/jackrabbithanna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackrabbithanna/subscriptions","organizations_url":"https://api.github.com/users/jackrabbithanna/orgs","repos_url":"https://api.github.com/users/jackrabbithanna/repos","events_url":"https://api.github.com/users/jackrabbithanna/events{/privacy}","received_events_url":"https://api.github.com/users/jackrabbithanna/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T16:38:36Z","updated_at":"2015-01-02T16:38:36Z","body":"    $result = civicrm_api3('Contact', 'getfields', array(\r\n    'sequential' => 1,\r\n    ));\r\nwhen i do a getfields api call on a field, i see two bits of information\r\n$result[values][x]['type']\r\nand $result[values][x]['html']['type]\r\n\r\nneither of which tells me much about how the field could/should be displayed......\r\n\r\nThe type is simply whether it is integer, text, or datetime.\r\n\r\nAs for the HTML type?\r\nCould I say that all 'Select' are option lists? Could all fields with Checkbox html types be yes/no or true/false?\r\n"}}