dynscreen.php

Go to the documentation of this file.
00001 <?php
00002 
00010 class Dynscreen extends oxAdminList
00011 {
00016     protected $_sThisTemplate = 'dynscreen.tpl';
00017 
00023     protected function _setupNavigation( $sNode )
00024     {
00025         $myAdminNavig = $this->getNavigation();
00026         $sNode = oxConfig::getParameter( "menu" );
00027 
00028         // active tab
00029         $iActTab = oxConfig::getParameter( 'actedit' );
00030         $iActTab = $iActTab?$iActTab:$this->_iDefEdit;
00031 
00032         $sActTab = $iActTab?"&actedit=$iActTab":'';
00033 
00034         // list url
00035         $this->_aViewData['listurl'] = $myAdminNavig->getListUrl( $sNode ).$sActTab;
00036 
00037         // edit url
00038         $sEditUrl = $myAdminNavig->getEditUrl( $sNode, $iActTab ).$sActTab;
00039         if (!preg_match("/^http:\/\//", $sEditUrl)) {
00040             //internal link, adding path
00041             $sEditUrl = $this->getViewConfig()->getViewConfigParam( 'selflink' ) . '?' . $sEditUrl;
00042         }
00043 
00044         $this->_aViewData['editurl'] = $sEditUrl;
00045 
00046         // tabs
00047         $this->_aViewData['editnavi'] = $myAdminNavig->getTabs( $sNode, $iActTab );
00048 
00049         // active tab
00050         $this->_aViewData['actlocation'] = $myAdminNavig->getActiveTab( $sNode, $iActTab );
00051 
00052         // default tab
00053         $this->_aViewData['default_edit'] = $myAdminNavig->getActiveTab( $sNode, $this->_iDefEdit );
00054 
00055         // passign active tab number
00056         $this->_aViewData['actedit'] = $iActTab;
00057 
00058         // buttons
00059         $this->_aViewData['bottom_buttons'] = $myAdminNavig->getBtn( $sNode );
00060     }
00061 
00067     public function getViewId()
00068     {
00069         return 'dyn_menu';
00070     }
00071 }

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