That's weird. I had an old version of my app where I needed to access models
and I remember having to do:

if (!isset($this->Model))
{
        $this->Model =& new Model();
}

Or something. But since I took out the need to have models on beforeFilter()
I'm not completely sure if that's what the case.

Anyway, good to know :)

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

-----Mensaje original-----
De: [email protected] [mailto:[EMAIL PROTECTED] En nombre
de nate
Enviado el: Martes, 28 de Noviembre de 2006 02:38 a.m.
Para: Cake PHP
Asunto: Re: beforeFilter Problem


Actually they are.  Everything is instantiated in the controller's
constructor, except for helpers.


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