Code registry
The code registry engine.
Drupal 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
- drupal-7.x/
includes/ registry.inc, line 8 - This file contains the code registry parser engine.
Functions
Name | Location | Description |
---|---|---|
drupal_autoload_class |
drupal-7.x/ |
Confirms that a class is available. |
drupal_autoload_interface |
drupal-7.x/ |
Confirms that an interface is available. |
registry_get_parsed_files |
drupal-7.x/ |
Return the list of files in registry_file |
registry_rebuild |
drupal-7.x/ |
Rescans all enabled modules and rebuilds the registry. |
registry_update |
drupal-7.x/ |
Updates the registry based on the latest files listed in the database. |
_registry_check_code |
drupal-7.x/ |
Checks for a resource in the registry. |
_registry_parse_file |
drupal-7.x/ |
Parse a file and save its function and class listings. |
_registry_parse_files |
drupal-7.x/ |
Parse all files that have changed since the registry was last built, and save their function and class listings. |
_registry_update |
drupal-7.x/ |
Does the work for registry_update(). |