original_string: public static function build_all_paths($force = false) {
          self::init_levels();
          foreach (self::$alllevels as $classname) {
              $classname::build_paths($force);
          }
  
          // reset static course cache - it might have incorrect cached data
          accesslib_clear_all_caches(true);
      }
code: public static function build_all_paths($force = false) {
          self::init_levels();
          foreach (self::$alllevels as $classname) {
              $classname::build_paths($force);
          }
  
          // reset static course cache - it might have incorrect cached data
          accesslib_clear_all_caches(true);
      }
code_tokens: public static function build_all_paths ( $ force = false ) { self :: init_levels ( ) ; foreach ( self :: $ alllevels as $ classname ) { $ classname :: build_paths ( $ force ) ; } // reset static course cache - it might have incorrect cached data accesslib_clear_all_caches ( true ) ; }
docstring: Rebuild paths and depths in all context levels.
  
  @static
  @param bool $force false means add missing only
  @return void
docstring_tokens: Rebuild paths and depths in all context levels .