What documentation? Thats not an official way to do anything as far as
I'm aware.

On Sep 11, 6:07 am, Ravi <[EMAIL PROTECTED]> wrote:
> Hai,
>  I am trying to use a model class in a component as in documentation
>
>     $foo =& new Foo(); , here Foo is the model class.
>     but i am getting error FatalError: Class Foo not found.
>
>  when i searched in the net found that using loadModel('Foo') solves
> the problem.
>
>  My questions:
>  1. Why the first method $foo =& new Foo() not working as specified in
> the document.
>  2. is there any other way to solve the problem without using
> loadModel.
>
> Thanks in advance
>
> Ravi


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

Reply via email to