Hi,
I'm using BAKE and I get some code that refers to list.
================================================
 function add() {
  if (!empty($this->data)) {
   $this->Work->create();
   if ($this->Work->save($this->data)) {
    $this->Session->setFlash(__('The Work has been saved', true));
    $this->redirect(array('action'=>'index'));
   } else {
    $this->Session->setFlash(__('The Work could not be saved. Please, try 
again.', true));
   }
  }
  $people = $this->Work->Person->find('list);
  $this->set(compact('people'));
=============================================
What is the list that this line refers to in the find???????
 $people = $this->Work->Person->find('list);
                                                         ^^^
 


Jim
Thanks for any help!!!
--~--~---------~--~----~------------~-------~--~----~
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