public function render() { $content = array(); if (!empty($this->content)) { $content['html'] = $this->content; $content['uniqId'] = $this->getContentUniqId(); } $this->assign('item', array('uniqId' => $this->getUniqId(), 'class' => $this->getClass(), 'content' => $content, 'html' => $this->control, 'hidden' => $this->getIsHidden())); return parent::render(); }
public function render() { $this->consoleItem->setControl(parent::render()); return $this->consoleItem->render(); }
public function render() { $this->assign('item', array('key' => $this->getKey(), 'class' => $this->getClass(), 'content' => $this->content)); return parent::render(); }
public function render() { if ($this->getTemplate() === null) { try { $plugin = OW::getPluginManager()->getPlugin(OW::getAutoloader()->getPluginKey(get_class($this))); } catch (InvalidArgumentException $e) { $plugin = null; } if ($plugin !== null) { $template = OW::getAutoloader()->classToFilename(get_class($this), false); $this->setTemplate($plugin->getCmpViewDir() . $template . '.html'); } } return parent::render(); }