{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.aipacommander.com%2Fentry%2F2016%2F04%2F19%2F224254\" title=\"\u3010CakePHP\u3011FormHelper\u3067select box\u306e\u4e2d\u306eoption\u30bf\u30b0\u306battribute\u3092\u6307\u5b9a\u3057\u305f\u3044\u3068\u304d - IT\u306e\u968a\u9577\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","version":"1.0","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/98194825/1514241549987688","blog_url":"https://www.aipacommander.com/","width":"100%","categories":["CakePHP","PHP","CakePHP2.x"],"provider_name":"Hatena Blog","published":"2016-04-19 22:42:54","title":"\u3010CakePHP\u3011FormHelper\u3067select box\u306e\u4e2d\u306eoption\u30bf\u30b0\u306battribute\u3092\u6307\u5b9a\u3057\u305f\u3044\u3068\u304d","author_url":"https://blog.hatena.ne.jp/aipacommander/","url":"https://www.aipacommander.com/entry/2016/04/19/224254","height":"190","author_name":"aipacommander","blog_title":"IT\u306e\u968a\u9577\u306e\u30d6\u30ed\u30b0","provider_url":"https://hatena.blog","description":"\u4e45\u3005\u306b\u65e9\u3081\u306e\u5e30\u5b85\u304c\u3067\u304d\u305f\u306e\u3067\u3001\u3061\u3087\u3063\u304f\u3089\u8d70\u3063\u3066\u304d\u307e\u3057\u305f\u3002\u3084\u3063\u3071\u308a\u4f53\u52d5\u304b\u3059\u3063\u3066\u6c17\u6301\u3061\u3044\u3044\u306d\uff01 \u3059\u3063\u304d\u308a\u6c17\u5206\u306a\u306e\u3067\u3001\u4e45\u3005\u306b\u30d6\u30ed\u30b0\u66f8\u304f\u3002 FormHelper\u3067select box\u306e\u4e2d\u306eoption\u30bf\u30b0\u306battribute\u3092\u6307\u5b9a\u3057\u305f\u3044\u3068\u304d CakePHP\u306eFormHelper\u3067select box\u3092\u51fa\u529b\u3057\u305f\u3044\u3068\u304d <?php ... $this->Form->input('select_field', [ 'type' => 'select', 'options' => $result ]) \u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3088\u306d\u3002\u3053\u306e\u3068\u304d\u3001$result\u306e\u4e2d\u8eab\u306f <?php ... $result = [ $id =\u2026"}