public function init()
{
$this->setAttr('rows', $this->rows);
parent::init();
}
function init() { parent::init(); // $this->js(true)->_load('elrte/js/elrte.min')->_load('rte'); // $this->setFieldHint('Use Save Icon of this window to save the form contents'); $this->addClass('tinymce'); $this->owner->js()->_selector('*')->on('pagehide', $this->js()->alert('hi')->tinymce()->remove()->_enclose()); }