admirau wrote:
>
> I want my view helper to return unique string based on controller and
> action.
>
> Is it possible to get request parameters from within view helper?
> In the controller I would write $this->_getParams();
> but I don't know how to obtain the same in my view helper.
>
> --
> regards
> takeshin
>
Sure! You can grab it any time from the frontController, like this:
$request=Zend_Controller_Front::getInstance()->getRequest();
$requestParams=$request->getParams();
Good luck,
Dmitry.
--
View this message in context:
http://www.nabble.com/Request-parameters-from-within-view-helper-tp24232096p24275258.html
Sent from the Zend Framework mailing list archive at Nabble.com.