public function setContext($owner, $mainMenuItemCode, $sideMenuItemCode = null)
    {
        $this->setContextOwner($owner);
        $this->setContextMainMenu($mainMenuItemCode);
        $this->setContextSideMenu($sideMenuItemCode);
    }
public function setContext($owner, $mainMenuItemCode, $sideMenuItemCode = null)
    {
        $this->setContextOwner($owner);
        $this->setContextMainMenu($mainMenuItemCode);
        $this->setContextSideMenu($sideMenuItemCode);
    }
public function setContext ( $ owner , $ mainMenuItemCode , $ sideMenuItemCode = null ) { $ this -> setContextOwner ( $ owner ) ; $ this -> setContextMainMenu ( $ mainMenuItemCode ) ; $ this -> setContextSideMenu ( $ sideMenuItemCode ) ; }
Sets the navigation context.
The function sets the navigation owner, main menu item code and the side menu item code.
@param string $owner Specifies the navigation owner in the format Vendor/Module
@param string $mainMenuItemCode Specifies the main menu item code
@param string $sideMenuItemCode Specifies the side menu item code
Sets the navigation context . The function sets the navigation owner main menu item code and the side menu item code .