コード例 #1
0
ファイル: console_item.php プロジェクト: vazahat/dudex
 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();
 }
コード例 #2
0
ファイル: console_dropdown.php プロジェクト: vazahat/dudex
 public function render()
 {
     $this->consoleItem->setControl(parent::render());
     return $this->consoleItem->render();
 }
コード例 #3
0
ファイル: console_list_item.php プロジェクト: vazahat/dudex
 public function render()
 {
     $this->assign('item', array('key' => $this->getKey(), 'class' => $this->getClass(), 'content' => $this->content));
     return parent::render();
 }
コード例 #4
-1
ファイル: component.php プロジェクト: hardikamutech/loov
 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();
 }