<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aipacommander</author_name>
  <author_url>https://blog.hatena.ne.jp/aipacommander/</author_url>
  <blog_title>ITの隊長のブログ</blog_title>
  <blog_url>https://www.aipacommander.com/</blog_url>
  <categories>
    <anon>CakePHP</anon>
    <anon>PHP</anon>
    <anon>CakePHP2.x</anon>
  </categories>
  <description>久々に早めの帰宅ができたので、ちょっくら走ってきました。やっぱり体動かすって気持ちいいね！ すっきり気分なので、久々にブログ書く。 FormHelperでselect boxの中のoptionタグにattributeを指定したいとき CakePHPのFormHelperでselect boxを出力したいとき &lt;?php ... $this-&gt;Form-&gt;input('select_field', [ 'type' =&gt; 'select', 'options' =&gt; $result ]) こんな感じですよね。このとき、$resultの中身は &lt;?php ... $result = [ $id =…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.aipacommander.com%2Fentry%2F2016%2F04%2F19%2F224254&quot; title=&quot;【CakePHP】FormHelperでselect boxの中のoptionタグにattributeを指定したいとき - ITの隊長のブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.user.blog.st-hatena.com/default_entry_og_image/98194825/1514241549987688</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-04-19 22:42:54</published>
  <title>【CakePHP】FormHelperでselect boxの中のoptionタグにattributeを指定したいとき</title>
  <type>rich</type>
  <url>https://www.aipacommander.com/entry/2016/04/19/224254</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
