You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
460 B
18 lines
460 B
<?php
|
|
|
|
namespace Wms\Menu\Helpers;
|
|
|
|
abstract class Menu
|
|
{
|
|
public static $minimizedCurrentMainMenu = false;
|
|
|
|
public static function setMainActive($sideMenuItemCode = null)
|
|
{
|
|
\BackendMenu::setContext('Wms.Menu', 'main', $sideMenuItemCode);
|
|
}
|
|
|
|
public static function setSubnavActive($mainMenuItemCode, $sideMenuItemCode = null)
|
|
{
|
|
\BackendMenu::setContext('Wms.Menu', 'main', "$mainMenuItemCode|$sideMenuItemCode");
|
|
}
|
|
}
|