Ejemplo n.º 1
0
 /**
  * Creates shop object, passes shop data to Smarty engine and returns name of
  * template file "dyn_adbutler.tpl".
  *
  * @return string
  */
 public function render()
 {
     parent::render();
     $oShop = oxNew("oxshop");
     $oShop->load(oxSession::getVar("actshop"));
     $this->_aViewData["edit"] = $oShop;
     return "dyn_adbutler.tpl";
 }
 /**
  * Creates shop object, passes shop data to Smarty engine and returns name of
  * template file "dyn_superclix.tpl".
  *
  * @return string
  */
 public function render()
 {
     parent::render();
     $this->_aViewData["edit"] = $this->_getEditShop(oxSession::getVar("actshop"));
     return "dyn_superclix.tpl";
 }