<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Deprecated stuff in CakePHP 1.2</title>
	<atom:link href="http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/</link>
	<description>baking cakes with CakePHP</description>
	<lastBuildDate>Tue, 16 Mar 2010 17:17:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/comment-page-2/#comment-142315</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Thu, 17 Dec 2009 15:15:38 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/#comment-142315</guid>
		<description>@Naveen: Well, some parts of your comment got eaten by Wordpress... So the only advice I can give you is to use the debug() function to see the structure of the data passed from the controller to your view.

Hope this helps a bit!</description>
		<content:encoded><![CDATA[<p>@Naveen: Well, some parts of your comment got eaten by Wordpress&#8230; So the only advice I can give you is to use the debug() function to see the structure of the data passed from the controller to your view.</p>
<p>Hope this helps a bit!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naveen</title>
		<link>http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/comment-page-2/#comment-142172</link>
		<dc:creator>Naveen</dc:creator>
		<pubDate>Tue, 15 Dec 2009 08:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/#comment-142172</guid>
		<description>hi,
 am getting the following error.
Undefined index:  MailTrigger [APP\views\mails_triggers\index.ctp, line 131].

MailTrigger is the name of my Model.

in index.ctp

                  
                    
                    
I have done this before but, y do i keep getting the error with respect to the Model.

My Model.


Could you please provide me with some information on this.</description>
		<content:encoded><![CDATA[<p>hi,<br />
 am getting the following error.<br />
Undefined index:  MailTrigger [APP\views\mails_triggers\index.ctp, line 131].</p>
<p>MailTrigger is the name of my Model.</p>
<p>in index.ctp</p>
<p>I have done this before but, y do i keep getting the error with respect to the Model.</p>
<p>My Model.</p>
<p>Could you please provide me with some information on this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/comment-page-2/#comment-140317</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Tue, 17 Nov 2009 15:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/#comment-140317</guid>
		<description>@Neil: Yes, you are right, findBySql() is deprecated resp. no longer exists in the current versions (1.2.5 and 1.3alpha). Thanks for mentioning it.</description>
		<content:encoded><![CDATA[<p>@Neil: Yes, you are right, findBySql() is deprecated resp. no longer exists in the current versions (1.2.5 and 1.3alpha). Thanks for mentioning it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/comment-page-2/#comment-140212</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Sun, 15 Nov 2009 10:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/#comment-140212</guid>
		<description>findBySql() has also been deprecated.  Use query().</description>
		<content:encoded><![CDATA[<p>findBySql() has also been deprecated.  Use query().</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/comment-page-2/#comment-123335</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Wed, 18 Mar 2009 16:13:28 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/#comment-123335</guid>
		<description>@Keith: Thanks for this hint, I wasn&#039;t aware of it (I usually don&#039;t use the CSS that comes with CakePHP).</description>
		<content:encoded><![CDATA[<p>@Keith: Thanks for this hint, I wasn&#8217;t aware of it (I usually don&#8217;t use the CSS that comes with CakePHP).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith</title>
		<link>http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/comment-page-1/#comment-123281</link>
		<dc:creator>Keith</dc:creator>
		<pubDate>Tue, 17 Mar 2009 19:18:36 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/#comment-123281</guid>
		<description>The new 1.2.1.8004 CSS sets the input &amp; text field size to 100% in the css.  You need to go in and remove that from the css and the size options parameter for your fields will work fine.</description>
		<content:encoded><![CDATA[<p>The new 1.2.1.8004 CSS sets the input &amp; text field size to 100% in the css.  You need to go in and remove that from the css and the size options parameter for your fields will work fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/comment-page-1/#comment-111118</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Thu, 23 Oct 2008 17:00:47 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/#comment-111118</guid>
		<description>@Waruna: Hm, what do you want to say with your comments?</description>
		<content:encoded><![CDATA[<p>@Waruna: Hm, what do you want to say with your comments?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waruna Geekiyanage</title>
		<link>http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/comment-page-1/#comment-111066</link>
		<dc:creator>Waruna Geekiyanage</dc:creator>
		<pubDate>Thu, 23 Oct 2008 06:31:02 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/#comment-111066</guid>
		<description>$arr_products = $this-&gt;Product-&gt;find( &#039;list&#039;, array( &#039;conditions&#039; =&gt; $conditions, &#039;fields&#039; =&gt; $fields, &#039;recursive&#039; =&gt; $recursive, &#039;order&#039; =&gt; &#039;Product.name ASC&#039; ) );</description>
		<content:encoded><![CDATA[<p>$arr_products = $this-&gt;Product-&gt;find( &#8216;list&#8217;, array( &#8216;conditions&#8217; =&gt; $conditions, &#8216;fields&#8217; =&gt; $fields, &#8216;recursive&#8217; =&gt; $recursive, &#8216;order&#8217; =&gt; &#8216;Product.name ASC&#8217; ) );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waruna Geekiyanage</title>
		<link>http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/comment-page-1/#comment-111065</link>
		<dc:creator>Waruna Geekiyanage</dc:creator>
		<pubDate>Thu, 23 Oct 2008 06:22:16 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/#comment-111065</guid>
		<description>Eg.	
	
$recursive = -1;
$conditions = array(&#039;Product.active&#039; =&gt; &#039;1&#039;);
$fields = array(&#039;Product.name&#039;);
$arr_products = $this-&gt;Product-&gt;find( &#039;list&#039;, array( &#039;conditions&#039; =&gt; $conditions, &#039;fields&#039; =&gt; $fields, &#039;recursive&#039; =&gt; $recursive) );</description>
		<content:encoded><![CDATA[<p>Eg.	</p>
<p>$recursive = -1;<br />
$conditions = array(&#8216;Product.active&#8217; =&gt; &#8216;1&#8242;);<br />
$fields = array(&#8216;Product.name&#8217;);<br />
$arr_products = $this-&gt;Product-&gt;find( &#8216;list&#8217;, array( &#8216;conditions&#8217; =&gt; $conditions, &#8216;fields&#8217; =&gt; $fields, &#8216;recursive&#8217; =&gt; $recursive) );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/comment-page-1/#comment-101691</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Wed, 06 Aug 2008 14:59:05 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2008/01/10/deprecated-stuff-in-cakephp-12/#comment-101691</guid>
		<description>@Olivier: Cool to hear you found an answer! Bake on :)</description>
		<content:encoded><![CDATA[<p>@Olivier: Cool to hear you found an answer! Bake on :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
