private static function AddBackendNavModule(array &$result, BackendModule $module)
    {
        $bundle = $module->MyBundle();
        if (!isset($result[$bundle]))
        {
            $result[$bundle] = array();
        }
        $result[$bundle][$module->SideNavIndex()] = $module;
    }
private static function AddBackendNavModule(array &$result, BackendModule $module)
    {
        $bundle = $module->MyBundle();
        if (!isset($result[$bundle]))
        {
            $result[$bundle] = array();
        }
        $result[$bundle][$module->SideNavIndex()] = $module;
    }
private static function AddBackendNavModule ( array & $ result , BackendModule $ module ) { $ bundle = $ module -> MyBundle ( ) ; if ( ! isset ( $ result [ $ bundle ] ) ) { $ result [ $ bundle ] = array ( ) ; } $ result [ $ bundle ] [ $ module -> SideNavIndex ( ) ] = $ module ; }
Adds the module to the side navigation
@param array &$result The resulting array
@param BackendModule $module The backend module
Adds the module to the side navigation