Having a similar problem, I found that this solution works best for me.
You can use the helper __construct method paired with the $ controller-> helpers array.
Since Helper::_construct() is called after Component::beforeRender , you can modify the $controller->helpers['YourHelperName'] array to pass data to your helper.
Component Code:
<?php public function beforeRender($controller){ $controller->helpers['YourHelperName']['data'] = array('A'=>1, 'B'=>2); } ?>
Assistant Code:
<?php function __construct($View, $settings){ debug($settings); } ?>
I am using CakePHP 2.0, so this solution should be tested for earlier versions.
source share