"User" is a subclass of model. Model::read api here:
http://api.cakephp.org/class_model.html

Think u need to set the model recursive attribute:

$this->User->recursive = 2;
$user = $this->User->read(null, $id);
debug($user);

http://book.cakephp.org/view/439/recursive

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