/** * Sets efire parameters to view, returns name of template to render * * @return string */ public function render() { $oStr = getStr(); $myConfig = $this->getConfig(); $this->_aViewData['sEfiUsername'] = $oStr->htmlspecialchars($myConfig->getConfigParam('sEfiUsername')); $this->_aViewData['sEfiPassword'] = $oStr->htmlspecialchars($myConfig->getConfigParam('sEfiPassword')); return parent::render(); }
/** * Executes marent method parent::render() and returns mane of template * file "efire_list.tpl". * * @return string */ public function render() { parent::render(); $this->_aViewData['menu'] = basename(oxConfig::getParameter("menu")); return "efire_list.tpl"; }