Ok. thanks kind buddy in the irc , jacob and kalileo
The first question's solution in already in the API.
$this->set('list',$this->Fenlei->generateList(null, null, null,
'{n}.Fenlei.name', '{n}.Fenlei.name')); 

BUT how is the second one ?


--~--~---------~--~----~------------~-------~--~----~
 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