You are here

function autoload_registry_get_parsed_files in Autoload 6.2

Return the list of files in registry_file

Related topics

1 call to autoload_registry_get_parsed_files()
_autoload_registry_update in ./autoload.registry.inc
Does the work for autoload_registry_update().

File

./autoload.registry.inc, line 122
This file contains the code registry parser engine. This file is backported from Drupal 7 core's registry.inc file.

Code

function autoload_registry_get_parsed_files() {
  $files = array();

  // We want the result as a keyed array.
  $query = db_query("SELECT * FROM {autoload_registry_file}");
  while ($file = db_fetch_array($query)) {
    $files[$file['filename']] = $file;
  }
  return $files;
}