dyn_affilinet.php

Go to the documentation of this file.
00001 <?php
00002 
00007 class dyn_affilinet extends dyn_interface
00008 {
00015     public function render()
00016     {
00017         parent::render();
00018         $this->_aViewData["edit"] = $this->_getEditShop( oxSession::getVar( "actshop") );
00019         return "dyn_affilinet.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 }