Adding in property copying until this branch gets merged with 2.0-request.

This commit is contained in:
mark_story 2010-07-04 00:05:46 -04:00
parent d6362f1857
commit d048813af8

View file

@ -61,6 +61,12 @@ class HelperCollection extends ObjectCollection {
}
}
$this->{$name} = new $helperClass($this->_View, $settings);
$vars = array('base', 'webroot', 'here', 'params', 'action', 'data', 'theme', 'plugin');
foreach ($vars as $var) {
$this->{$name}->{$var} = $this->_View->{$var};
}
if (!in_array($name, $this->_attached)) {
$this->_attached[] = $name;
}