Thursday, August 28, 2014

Re: How to get controller name from an element view?

Thank you. I got it working by the following command.
$this->request->params['controller']
Thanks,
Jipson

On Friday, 8 February 2008 19:30:35 UTC, Guill3rmo wrote:
Hi im newbie and my English still sucks, but i want to know get the
controller name since an element view. Thanks.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: