cakephp accessing view attributes/variables from within a helper

Viewed 10592

is there a reasonable way to access the view attribute "passedArgs" (or any similar)

/* view */
$this->passedArgs

from within a Helper?

I'd be happy to customize the _construct() of the helper or to customize the app_helper... but I don't want to have to pass $this->passedArgs into the helper on every view or usage.

3 Answers

Cake 3:

$this->getView()->get('my_var');
Related