I migrated to cake 1.2 and i have a little problem with the new list
creation.
Before, that was easy to let a blank element il front of the list.
But now, with this code:

$articles = $this->Article->find("all", array('fields' =>
array('Article.id','Article.titre') ));
$result =
Set::combine($articles,'{n}.Article.id','{n}.Article.titre');

How can i do the same thing??

Thanks for your help

Gil


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to