<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tjtjtjofthedead</author_name>
  <author_url>https://blog.hatena.ne.jp/tjtjtjofthedead/</author_url>
  <blog_title>tjtjtjのメモ</blog_title>
  <blog_url>https://tjtjtj.hatenablog.com/</blog_url>
  <categories>
    <anon>php</anon>
    <anon>yii</anon>
  </categories>
  <description>yii1.1.8 リリースとともにガイドのリレーショナルアクティブレコードページが更新され、英語ガイドページとの同期が取れました。これまで、日本語ガイドと英語ガイドを行き来して面倒だったんです。翻訳の皆さんありがとうございます。リレーション宣言で特にわからないのが「ForeignKey」の書き方でした。以下は試行錯誤してやっと解決したときのメモです*1。 'VarName'=&gt;array('RelationType', 'ClassName', 'ForeignKey', ...付加オプション) HAS_ONE ガイド例「User」「Profile」の関係です。次はガイドのコードにコメントを付…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftjtjtj.hatenablog.com%2Fentry%2F20110727%2F1311773047&quot; title=&quot;リレーショナルアクティブレコードを使ってみる - tjtjtjのメモ&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>2011-07-27 22:24:07</published>
  <title>リレーショナルアクティブレコードを使ってみる</title>
  <type>rich</type>
  <url>https://tjtjtj.hatenablog.com/entry/20110727/1311773047</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
