Code registry in Autoload 6.2
The code registry engine.
Autoload maintains an internal registry of all functions or classes in the system, allowing it to lazy-load code files as needed (reducing the amount of code that must be parsed on each request).
File
- ./
autoload.registry.inc, line 9 - This file contains the code registry parser engine. This file is backported from Drupal 7 core's registry.inc file.
Functions
Name | Location | Description |
---|---|---|
autoload_class |
./ |
Confirm that a class is available. |
autoload_interface |
./ |
Confirm that an interface is available. |
autoload_registry_get_parsed_files |
./ |
Return the list of files in registry_file |
autoload_registry_rebuild |
./ |
Rescan all enabled modules and rebuild the registry. |
autoload_registry_update |
./ |
Update the registry based on the latest files listed in the database. |
_autoload_registry_check_code |
./ |
Helper to check for a resource in the registry. |
_autoload_registry_parse_file |
./ |
Parse all files that have changed since the registry was last built, and save their function and class listings. |
_autoload_registry_parse_files |
./ |
Parse a file and save its function and class listings. |
_autoload_registry_update |
./ |
Does the work for autoload_registry_update(). |