On Nov 7, 8:22 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I have set variables in App Controller & I want to access that
> variable in controller?
> i do like that:
> $this->set('feach',$this->products->read());
>                  pr($this->feach);

The app controller is in principle an abstract class, so $this is your
(insert name here) controller in the above code

e.g. http://api.cakephp.org/class_pages_controller.png (ignore the
duplicate class names, caused by php4/php5 compatibility logic)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to