<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>T.T.Soft Development Studio &#187; CakePHP</title>
	<atom:link href="http://ttsoft.jp/category/cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://ttsoft.jp</link>
	<description></description>
	<lastBuildDate>Fri, 20 Jan 2012 13:37:05 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>CakePHPでfind()の時の注意?</title>
		<link>http://ttsoft.jp/2009/11/cakephp_findmethod_caution_poin/</link>
		<comments>http://ttsoft.jp/2009/11/cakephp_findmethod_caution_poin/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 03:08:32 +0000</pubDate>
		<dc:creator>torut</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.ttsoft.org/?p=179</guid>
		<description><![CDATA[CakePHPで SoftDeletableBehaviors を使っているときに find()メソッドのcallbacks引数に false を指定するとBehaviorが無効になっちゃいました。 というわけでfind<a href="http://ttsoft.jp/2009/11/cakephp_findmethod_caution_poin/"> <br /><br /> (More)…</a>]]></description>
			<content:encoded><![CDATA[<p>CakePHPで <a href="http://bakery.cakephp.org/articles/view/soft-delete-behavior" target="_blank">SoftDeletableBehaviors</a> を使っているときに find()メソッドのcallbacks引数に <strong>false</strong> を指定するとBehaviorが無効になっちゃいました。</p>
<p>というわけでfind()の時に afterFind() をしたくないときは</p>
<pre name="code" class="php">
$this->Task->find('all', array('conditions' => array(), 'order' => array(), 'fields' => array(), 'callbacks' => 'before'));
</pre>
<p>ってしましょう。</p>
]]></content:encoded>
			<wfw:commentRss>http://ttsoft.jp/2009/11/cakephp_findmethod_caution_poin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CakePHPのShellでI18nを使う方法</title>
		<link>http://ttsoft.jp/2009/10/user_i18n_in_cakephpshell/</link>
		<comments>http://ttsoft.jp/2009/10/user_i18n_in_cakephpshell/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 06:59:28 +0000</pubDate>
		<dc:creator>torut</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.ttsoft.org/?p=170</guid>
		<description><![CDATA[CakePHPのShellを作成するときに__()を通しても変換されなかったので、ちょっとメモ app/vendors/shells/hogehoge.php App::import('Core', 'L10n'); c<a href="http://ttsoft.jp/2009/10/user_i18n_in_cakephpshell/"> <br /><br /> (More)…</a>]]></description>
			<content:encoded><![CDATA[<p>CakePHPのShellを作成するときに__()を通しても変換されなかったので、ちょっとメモ</p>
<p>app/vendors/shells/hogehoge.php</p>
<pre name="code" class="php">
App::import('Core', 'L10n');
class HogehogeShell extends Shell {
  function startup() {
    $this->L10n = new L10n();
    $this->L10n->get('jpn');
  }

  function main() {
    print __('Hello World.', true);
  }
}
</pre>
<p>ってやれば大丈夫でした。</p>
]]></content:encoded>
			<wfw:commentRss>http://ttsoft.jp/2009/10/user_i18n_in_cakephpshell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

