original_string: 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');
        }
     }
code: 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');
        }
     }
code_tokens: 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' ) ; } }
docstring: Configures navigation sidebar in Dashboard.
  
  @since 2.0.0
  @access public
  
  @param $CurrentUrl Path to current location in dashboard.
docstring_tokens: Configures navigation sidebar in Dashboard .