$uses = array("Artist","Ticker");

[]s
Marcelo Linhares

2007/9/15, Charlie van de Kerkhof <[EMAIL PROTECTED]>:
>
> 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
>
>
> >
>


-- 
Marcelo Linhares
AgĂȘncia Detalhes - http://www.agenciadetalhes.com.br
MyFinance - Gerencia suas finanças online
http://www.myfinance.cc

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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