public function __construct(View $View, $settings = array()) { parent::__construct($View, $settings); $settings = array_merge(array('_editor' => 'tinymce'), (array) $settings); $this->_helperOptions = $settings; }
/** * Sets the $this->helper to the helper configured in the session * * @param View $View The View this helper is being attached to. * @param array $settings Configuration settings for the helper. * @return void **/ public function __construct(View $View, $settings = array()) { parent::__construct($View, $settings); $this->changeEditor($this->_helperOptions['_editor']); }