Form_Field_Text::init PHP Method

init() public method

public init ( )
    public function init()
    {
        $this->setAttr('rows', $this->rows);
        parent::init();
    }

Usage Example

コード例 #1
0
 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());
 }
All Usage Examples Of Form_Field_Text::init