@@ 165-169 (lines=5) @@ | ||
162 | */ |
|
163 | public function render() |
|
164 | { |
|
165 | if ($this->htmlEditor && is_object($this->htmlEditor)) { |
|
166 | if (!isset($this->htmlEditor->isEnabled) || $this->htmlEditor->isEnabled) { |
|
167 | return $this->htmlEditor->render(); |
|
168 | } |
|
169 | } |
|
170 | static $js_loaded; |
|
171 | ||
172 | $xoops = \Xoops::getInstance(); |
|
@@ 332-336 (lines=5) @@ | ||
329 | */ |
|
330 | public function renderValidationJS() |
|
331 | { |
|
332 | if ($this->htmlEditor && is_object($this->htmlEditor) && method_exists($this->htmlEditor, 'renderValidationJS')) { |
|
333 | if (!isset($this->htmlEditor->isEnabled) || $this->htmlEditor->isEnabled) { |
|
334 | return $this->htmlEditor->renderValidationJS(); |
|
335 | } |
|
336 | } |
|
337 | return parent::renderValidationJS(); |
|
338 | } |
|
339 | } |