original_string: protected static function fill_classmap_cache() {
          global $CFG;
  
          self::$classmap = array();
  
          self::load_classes('core', "$CFG->dirroot/lib/classes");
  
          foreach (self::$subsystems as $subsystem => $fulldir) {
              if (!$fulldir) {
                  continue;
              }
              self::load_classes('core_'.$subsystem, "$fulldir/classes");
          }
  
          foreach (self::$plugins as $plugintype => $plugins) {
              foreach ($plugins as $pluginname => $fulldir) {
                  self::load_classes($plugintype.'_'.$pluginname, "$fulldir/classes");
              }
          }
          ksort(self::$classmap);
      }
code: protected static function fill_classmap_cache() {
          global $CFG;
  
          self::$classmap = array();
  
          self::load_classes('core', "$CFG->dirroot/lib/classes");
  
          foreach (self::$subsystems as $subsystem => $fulldir) {
              if (!$fulldir) {
                  continue;
              }
              self::load_classes('core_'.$subsystem, "$fulldir/classes");
          }
  
          foreach (self::$plugins as $plugintype => $plugins) {
              foreach ($plugins as $pluginname => $fulldir) {
                  self::load_classes($plugintype.'_'.$pluginname, "$fulldir/classes");
              }
          }
          ksort(self::$classmap);
      }
code_tokens: protected static function fill_classmap_cache ( ) { global $ CFG ; self :: $ classmap = array ( ) ; self :: load_classes ( 'core' , "$CFG->dirroot/lib/classes" ) ; foreach ( self :: $ subsystems as $ subsystem => $ fulldir ) { if ( ! $ fulldir ) { continue ; } self :: load_classes ( 'core_' . $ subsystem , "$fulldir/classes" ) ; } foreach ( self :: $ plugins as $ plugintype => $ plugins ) { foreach ( $ plugins as $ pluginname => $ fulldir ) { self :: load_classes ( $ plugintype . '_' . $ pluginname , "$fulldir/classes" ) ; } } ksort ( self :: $ classmap ) ; }
docstring: Find all classes that can be autoloaded including frankenstyle namespaces.
docstring_tokens: Find all classes that can be autoloaded including frankenstyle namespaces .