You could, or even better
$ThisIsMyModelINstance =& ClassRegistry::init('ThisIsMyModel');
On Jul 1, 10:59 pm, CMNAJS <[email protected]> wrote:
> how can i load model in components.. in cakephp 1.2.x.x. should i use
> App::import('Model', 'modelname') ???
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---