Hi,
I like to use the model standard functions like findById() in another
model instead of a controller.
In model Ticker I want data from a table called 'artists' which has
model 'Artist' but model Ticker doesn't use a database table.
// In model Ticker:
$artists = $this->Artist->findById(12);
is not working because the model Artist is not known (?) in model
Ticker. Even with the loadModel('Artist') is is not working.
Anyone any idea?
thnx in advance
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---