dyn_superclix.php

Go to the documentation of this file.
00001 <?php
00002 
00008 class dyn_superclix extends dyn_interface
00009 {
00016     public function render()
00017     {
00018         parent::render();
00019 
00020         $soxId = oxSession::getVar( "actshop");
00021 
00022         $oShop = oxNew( "oxshop" );
00023         $oShop->load( $soxId);
00024         $this->_aViewData["edit"] =  $oShop;
00025 
00026         return "dyn_superclix.tpl";
00027     }
00028 
00034     public function save()
00035     {
00036         $soxId      = oxConfig::getParameter( "oxid");
00037         $aParams    = oxConfig::getParameter( "editval");
00038 
00039         $oShop = oxNew( "oxshop" );
00040         $oShop->load( $soxId);
00041 
00042         //$aParams = $oShop->ConvertNameArray2Idx( $aParams);
00043         $oShop->assign( $aParams);
00044 
00045         $oShop->save();
00046     }
00047 }

Generated on Thu Dec 4 12:04:55 2008 for OXID eShop CE by  doxygen 1.5.5