_persistantFreeze = true; $this->_type = 'html_editor'; global $fck_attribute; $editor = Container::getHtmlEditor(); if ($editor) { $this->editor = $editor; $this->editor->setName($name); $this->editor->processConfig($fck_attribute); $this->editor->processConfig($config); } } /** * Return the HTML editor in HTML * @return string */ public function toHtml() { $value = $this->getValue(); if ($this->editor) { if ($this->editor->getConfigAttribute('fullPage')) { if (strlen(trim($value)) == 0) { // TODO: To be considered whether here to be added DOCTYPE, language and character set declarations. $value = '