Wednesday, August 29, 2012

How to set a variable inside an extended Cake Class

Hi guys
I'm stuck on a new problem these hours... I've just coded an extended CakeRoute and I need to set some variables. Unfortunately, the $this->set() function can't be used as it points to the extended CakeRoute class. How can I set a variable inside the parse() function for showing it inside the view?

I really thank all of you for your suggests.
Leonhart

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

No comments: