It is not possible, but you can always extend the find() method in
your Appmodel if you require that funcionality often:

class AppModel extends Model {

function find($type, $params)
  switch ($type) {
    case 'indexed' : return Set::combine($this->find(...), '...');
    default: return parent::find($type, $params);
  }

}

And then just call $this->Mymodel->find('indexed', array(...));
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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