public function AddSideMenu($CurrentUrl) {
      // Only add to the assets if this is not a view-only request
      if ($this->_DeliveryType == DELIVERY_TYPE_ALL) {
         $SideMenu = new SideMenuModule($this);
         $SideMenu->HtmlId = '';
         $SideMenu->HighlightRoute($CurrentUrl);
         $SideMenu->Sort = C('Garden.DashboardMenu.Sort');
         $this->EventArguments['SideMenu'] = &$SideMenu;
         $this->FireEvent('GetAppSettingsMenuItems');
         $this->AddModule($SideMenu, 'Panel');
      }
   }
public function AddSideMenu($CurrentUrl) {
      // Only add to the assets if this is not a view-only request
      if ($this->_DeliveryType == DELIVERY_TYPE_ALL) {
         $SideMenu = new SideMenuModule($this);
         $SideMenu->HtmlId = '';
         $SideMenu->HighlightRoute($CurrentUrl);
         $SideMenu->Sort = C('Garden.DashboardMenu.Sort');
         $this->EventArguments['SideMenu'] = &$SideMenu;
         $this->FireEvent('GetAppSettingsMenuItems');
         $this->AddModule($SideMenu, 'Panel');
      }
   }
public function AddSideMenu ( $ CurrentUrl ) { // Only add to the assets if this is not a view-only request if ( $ this -> _DeliveryType == DELIVERY_TYPE_ALL ) { $ SideMenu = new SideMenuModule ( $ this ) ; $ SideMenu -> HtmlId = '' ; $ SideMenu -> HighlightRoute ( $ CurrentUrl ) ; $ SideMenu -> Sort = C ( 'Garden.DashboardMenu.Sort' ) ; $ this -> EventArguments [ 'SideMenu' ] = & $ SideMenu ; $ this -> FireEvent ( 'GetAppSettingsMenuItems' ) ; $ this -> AddModule ( $ SideMenu , 'Panel' ) ; } }
Configures navigation sidebar in Dashboard.

@since 2.0.0
@access public

@param $CurrentUrl Path to current location in dashboard.
Configures navigation sidebar in Dashboard .