renderAttributes(); echo '>'; echo htmlspecialchars($this->getValue(), ENT_QUOTES); echo ''; } function getIniOption($option) { if($value = $this->ini->getOption($option, $this->group)) return $value; return ''; } function initWysiwyg($ini_file_name, $group = null) { $this->ini = lmbToolkit :: instance()->getConf($ini_file_name); $this->group = $group; if(!$this->getAttribute('rows')) $this->setAttribute('rows', $this->getIniOption('rows')); if(!$this->getAttribute('cols')) $this->setAttribute('cols', $this->getIniOption('cols')); if(!$this->getAttribute('width')) $this->setAttribute('width', $this->getIniOption('width')); if(!$this->getAttribute('height')) $this->setAttribute('height', $this->getIniOption('height')); } } ?>