src/Core/Logic/Module/BackendForm.php
protected function AddRichTextField($name, $value = '')
   {
        $renderer = new CKEditorRenderer(PathUtil::BackendRTEPath(), PathUtil::BackendRTEUrl(),
            PathUtil::UploadPath(), PathUtil::UploadUrl(), self::Guard());
        $field = new Custom($renderer);
        $field->SetName($name);
        $field->SetValue($value);
        $this->AddField($field);
        return $field;
   }
protected function AddRichTextField($name, $value = '')
   {
        $renderer = new CKEditorRenderer(PathUtil::BackendRTEPath(), PathUtil::BackendRTEUrl(),
            PathUtil::UploadPath(), PathUtil::UploadUrl(), self::Guard());
        $field = new Custom($renderer);
        $field->SetName($name);
        $field->SetValue($value);
        $this->AddField($field);
        return $field;
   }
protected function AddRichTextField ( $ name , $ value = '' ) { $ renderer = new CKEditorRenderer ( PathUtil :: BackendRTEPath ( ) , PathUtil :: BackendRTEUrl ( ) , PathUtil :: UploadPath ( ) , PathUtil :: UploadUrl ( ) , self :: Guard ( ) ) ; $ field = new Custom ( $ renderer ) ; $ field -> SetName ( $ name ) ; $ field -> SetValue ( $ value ) ; $ this -> AddField ( $ field ) ; return $ field ; }
Adds a field with the default rich text editor
@param string $name The field name
@param string $value The field value
@return Custom Returns the custom field containing the RT Editor
Adds a field with the default rich text editor