dyn_affiliwelt.php

Go to the documentation of this file.
00001 <?php
00002 
00007 class dyn_affiliwelt extends Shop_Config
00008 {
00015     public function render()
00016     {
00017         parent::render();
00018         $this->_aViewData["edit"] = $this->_getEditShop( oxSession::getVar( "actshop") );
00019         return "dyn_affiliwelt.tpl";
00020     }
00021 
00027     public function save()
00028     {
00029         $soxId      = $this->getEditObjectId();
00030         $aParams    = oxConfig::getParameter( "editval");
00031 
00032         $oShop = oxNew( "oxshop" );
00033         $oShop->load( $soxId);
00034 
00035         //$aParams = $oShop->ConvertNameArray2Idx( $aParams);
00036         $oShop->assign( $aParams);
00037 
00038         $oShop->save();
00039 
00040         parent::Save();
00041     }
00042 
00048     public function getViewId()
00049     {
00050         return 'dyn_interface';
00051     }
00052 }