<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>invent</author_name>
  <author_url>https://blog.hatena.ne.jp/invent/</author_url>
  <blog_title>cutmail's blog</blog_title>
  <blog_url>https://cutmail.hatenablog.com/</blog_url>
  <categories>
    <anon>cakephp</anon>
  </categories>
  <description>タイトルに数字を入れるのがはやっているみたいですね。 これで、アクセス伸びたりするのかな？ Model::validatesの使い方 コントローラ内でvalidates()を使う際に、 cakephp1.1と1.2で微妙に使い方が違うらしく、 結構はまったので、メモ。 1.1だと下のように書くとvalidateできますが、 &lt;?php if ($this-&gt;Test-&gt;validates($this-&gt;data)) { echo '成功!'; } else { echo '失敗'; } ?&gt; 1.2だと &lt;?php $this-&gt;Test-&gt;set($this-&gt;data); if ($thi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcutmail.hatenablog.com%2Fentry%2F20081129%2F1227967785&quot; title=&quot;cakephp1.2でvalidateを使うときに気をつけたい1つのこと - cutmail&amp;#39;s blog&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>2008-11-29 23:09:45</published>
  <title>cakephp1.2でvalidateを使うときに気をつけたい1つのこと</title>
  <type>rich</type>
  <url>https://cutmail.hatenablog.com/entry/20081129/1227967785</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
