/** * Use when page is linked from the admin tree, * if not used navigation could not find the page using current URL * because the tree is not fully loaded. */ public static function require_admin_tree() { self::$loadadmintree = true; }