<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kenmaz</author_name>
  <author_url>https://blog.hatena.ne.jp/kenmaz/</author_url>
  <blog_title>kenmazの日記</blog_title>
  <blog_url>https://kenmaz.hatenadiary.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>最近CakePHPを使い始めたんだが、いきなりハマったのでその詳細を書いておく。 再現手順 環境：PHP5.3.5+CakePHP1.3.6 CakePHPでは、すべてのモデルクラスの共通処理をapp/app_model.phpに書くのが流儀である。 というわけで、app_model.phpを以下のように書いてみる class AppModel extends Model{ function __construct() { parent::__construct(); //なにか処理 } } 次に、次のようなモデルを定義する。hasManyでBlogモデル同士で親子関係をもたせている。 cla…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkenmaz.hatenadiary.jp%2Fentry%2F20110218%2F1298048202&quot; title=&quot;CakePHPのmodel.phpをオーバーライドしたらFatal Error - kenmazの日記&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-02-18 01:56:42</published>
  <title>CakePHPのmodel.phpをオーバーライドしたらFatal Error</title>
  <type>rich</type>
  <url>https://kenmaz.hatenadiary.jp/entry/20110218/1298048202</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
