<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>taramonera</author_name>
  <author_url>https://blog.hatena.ne.jp/taramonera/</author_url>
  <blog_title>第2.5地区</blog_title>
  <blog_url>https://taramonera.hatenadiary.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>CakePHP</anon>
  </categories>
  <description>コントローラの冒頭で、↓のように使用するテーブルを書いて、 var $uses = array('Item', 'Category'); ↓のようにすればデータを取り出せます。 $all_item_data = $this-&gt;Item-&gt;find('all'); $all_category_data = $this-&gt;Category-&gt;find('all'); あと↓こんな風にとか。※私の環境なので参考程度に。。 $this-&gt;data = $this-&gt;Item-&gt;findByItemcode($itemcode); (↓関数名にフィールドを指定できるfindByを初めて使ったときは、すご…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftaramonera.hatenadiary.jp%2Fentry%2F20100223%2F1267532320&quot; title=&quot;CakePHP 1つのコントローラで複数のテーブルを使用する - 第2.5地区&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-02-23 21:18:40</published>
  <title>CakePHP 1つのコントローラで複数のテーブルを使用する</title>
  <type>rich</type>
  <url>https://taramonera.hatenadiary.jp/entry/20100223/1267532320</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
