Hi CRUSH, or other guys,

I want to know can I call a model from another model, like this!

$musics = $this->Album->Music->find('list');

It cause to error!

when execute a without giving Music model, it gives list of album ids.
$musics = $this->Album->Music->find('list');

what are the other thing i should do to call one model from another??

Ganganath Hettiarachchi

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to