/**
* Setup the Dashboard menu.
*
* @param $CurrentUrl
* @throws Exception
*/
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);
$this->EventArguments['SideMenu'] =& $SideMenu;
$this->fireEvent('GetAppSettingsMenuItems');
$this->addModule($SideMenu, 'Panel');
}
}