Populated when you hit "submit" on a form, so yeah..HTTP POST. On 8/6/07, Vaz <[EMAIL PROTECTED]> wrote: > > > Is $this->data populated only in a HTTP POST function? > > I have a scenario where the profile/index function (in controller) > checks to see whether the user is a customer or a dealer. And > accordingly, redirecting to profile/customer or profile/dealer. Can I > safely check for > "if (empty($this->data)" to access models to load data into view? > Thanks. > > > > >
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
