dynscreen.php

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

Generated on Wed Apr 22 12:26:29 2009 for OXID eShop CE by  doxygen 1.5.5