<?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"
	>
<channel>
	<title>Comments on: Deprecated generateList in CakePHP 1.2</title>
	<atom:link href="http://blackreed.com/2008/04/deprecated-generatelist-in-cakephp-12/feed/" rel="self" type="application/rss+xml" />
	<link>http://blackreed.com/2008/04/deprecated-generatelist-in-cakephp-12/</link>
	<description>Ordinary user of CakePHP</description>
	<pubDate>Wed, 07 Jan 2009 11:21:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: sviktorov</title>
		<link>http://blackreed.com/2008/04/deprecated-generatelist-in-cakephp-12/#comment-12</link>
		<dc:creator>sviktorov</dc:creator>
		<pubDate>Fri, 08 Aug 2008 19:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://blackreed.com/?p=4#comment-12</guid>
		<description>You could use this in cake php 1.2

#
$customers =$this-&#62;Customer-&#62;find("list",array('fields'=&#62;array('Customer.customer_name','Customer.id'),'order'=&#62;'Customer.customer_name ASC'));  

#
$this-&#62;set('customers', $customers);</description>
		<content:encoded><![CDATA[<p>You could use this in cake php 1.2</p>
<p>#<br />
$customers =$this-&gt;Customer-&gt;find(&#8221;list&#8221;,array(&#8217;fields&#8217;=&gt;array(&#8217;Customer.customer_name&#8217;,'Customer.id&#8217;),&#8217;order&#8217;=&gt;&#8217;Customer.customer_name ASC&#8217;));  </p>
<p>#<br />
$this-&gt;set(&#8217;customers&#8217;, $customers);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SuperSekret</title>
		<link>http://blackreed.com/2008/04/deprecated-generatelist-in-cakephp-12/#comment-7</link>
		<dc:creator>SuperSekret</dc:creator>
		<pubDate>Sat, 19 Jul 2008 23:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://blackreed.com/?p=4#comment-7</guid>
		<description>Thank you psa and thank you Grant.  Solved my problem.  Gotta bump this post in google.  FYI, baking scripts still uses generateList</description>
		<content:encoded><![CDATA[<p>Thank you psa and thank you Grant.  Solved my problem.  Gotta bump this post in google.  FYI, baking scripts still uses generateList</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grant Cox</title>
		<link>http://blackreed.com/2008/04/deprecated-generatelist-in-cakephp-12/#comment-2</link>
		<dc:creator>Grant Cox</dc:creator>
		<pubDate>Wed, 07 May 2008 22:40:23 +0000</pubDate>
		<guid isPermaLink="false">http://blackreed.com/?p=4#comment-2</guid>
		<description>While you can do a find('all') and Set::combine, I think it is more succinct to use find('list').


$customers = $this-&#62;Customer-&#62;find("list",array('fields'=&#62;array('Customer.id','Customer.customer_name'),'order'=&#62;'Customer.customer_name ASC')); 
</description>
		<content:encoded><![CDATA[<p>While you can do a find(&#8217;all&#8217;) and Set::combine, I think it is more succinct to use find(&#8217;list&#8217;).</p>
<p>$customers = $this-&gt;Customer-&gt;find(&#8221;list&#8221;,array(&#8217;fields&#8217;=&gt;array(&#8217;Customer.id&#8217;,'Customer.customer_name&#8217;),&#8217;order&#8217;=&gt;&#8217;Customer.customer_name ASC&#8217;));</p>
]]></content:encoded>
	</item>
</channel>
</rss>
