<?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>またこのネタです。YiiFrameworkのCManyManyRelationは中間テーブルへのアクセスをサポートしていません。ならばオレオレリレーションによってそれを可能にしてみます。前エントリのまとめと反するのですが、まあ、あそびばってことで。 実現のためにCJoinElementを改造します。まだまだ中途半端な状態ですが載せておきます。気がむいたら更新するかもしれません。2012.10.25 実験段階 とりあえずレイジーローディング リレーション まずオレオレリレーションモデルです。protected/components/ManyManyPivotRelation.php &lt;?php …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftjtjtj.hatenablog.com%2Fentry%2F2012%2F10%2F25%2F000041&quot; title=&quot;Yiiでも中間テーブルにアクセスしたい - 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>2012-10-25 00:00:41</published>
  <title>Yiiでも中間テーブルにアクセスしたい</title>
  <type>rich</type>
  <url>https://tjtjtj.hatenablog.com/entry/2012/10/25/000041</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
