Say, I have a variable $counter defined in a widget view file. I want to access it in a views/ControllerName/actionname.php file. How do I access it?
Asked
Active
Viewed 141 times
1
-
1You have to review architecture if you need such a trick. – Oleg Nov 01 '13 at 23:13
-
I think this link is useful for you: http://stackoverflow.com/questions/12574084/yii-how-do-i-access-the-property-of-a-widget – secretlm Nov 02 '13 at 01:26