determineComponent(); } function determineComponent() { $ini = lmbToolkit :: instance()->getConf($this->ini_file_name); if(($this->profile = $this->getAttribute('profile')) == '' && ($this->profile = $ini->getOption('profile')) == '') { $this->profile = null; return; } if($ini->getOption('runtimeIncludeFile', $this->profile)) $this->runtimeIncludeFile = $ini->getOption('runtimeIncludeFile', $this->profile); if($ini->getOption('runtimeComponentName', $this->profile)) $this->runtimeComponentName = $ini->getOption('runtimeComponentName', $this->profile); } protected function _renderOpenTag($code_writer) { } protected function _renderCloseTag($code_writer) { } function generateTagContent($code) { if(isset($this->attributeNodes['name']) && !$this->attributeNodes['name']->isConstant()) { $code->writePhp($this->getComponentRefCode() . '->setAttribute("name", '); $code->writePhp($this->attributeNodes['name']->generateExpression($code)); $code->writePhp(');' . "\n"); } $code->writePhp($this->getComponentRefCode() . '->initWysiwyg("'. $this->ini_file_name . '","'.$this->profile.'" );' . "\n"); $code->writePhp($this->getComponentRefCode() . '->renderContents();' . "\n"); } } ?>