public function htmlTextarea($name, $value = null, $htmlOptions = array(), $tinyMCETemplate = 'basic')
    {
        $r = Html::get()->mpfScriptFile('jquery.js') . Html::get()->mpfScriptFile('tinymce/tinymce.min.js') . Html::get()->mpfScriptFile('tinymce/jquery.tinymce.min.js');
        if (!isset($htmlOptions['id'])) {
            $htmlOptions['id'] = 'tinymce_' . uniqid();
        }
        $htmlOptions['class'] = (isset($htmlOptions['class']) ? $htmlOptions['class'] . ' ' : '') . 'input tinymce-textarea';
        $r .= $this->textarea($name, $value, $htmlOptions);
        $options = json_encode($this->tinyMCEOptionTemplates[$tinyMCETemplate]);
        $r .= Html::get()->script("$('#{$htmlOptions['id']}').tinymce($options)");
        return $r;
    }