20 defined(
'XOOPS_ROOT_PATH') or die('Restricted access');
52 $this->XoopsFormTextArea($caption, $name);
55 $this->editor = $editor_handler->get(
$configs[
'editor'],
$configs, $nohtml, $OnFailure);
63 function renderValidationJS()
65 if (is_object($this->editor) && $this->isRequired()) {
66 if (method_exists($this->editor,
'renderValidationJS')) {
67 $this->editor->setName($this->getName());
68 $this->editor->setCaption($this->getCaption());
69 $this->editor->_required = $this->isRequired();
70 $ret = $this->editor->renderValidationJS();
73 parent::renderValidationJS();
86 if (is_object($this->editor)) {
87 return $this->editor->render();