On 9/21/07, Grant Cox <[EMAIL PROTECTED]> wrote:
>
> loadModel("YourModel");
> $model = &new YourModel();

You did it in every method which is need the model?

>
> I've been told that using models in your components is not best
> practice, however I do this myself quite often.

Why they told you that?

-- 
Regards,
Ananda Putra

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