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).

Functions

NameLocationDescription
drupal_autoload_classincludes/bootstrap.incConfirm that a class is available.
drupal_autoload_interfaceincludes/bootstrap.incConfirm that an interface is available.
registry_get_parsed_filesincludes/registry.incReturn the list of files in registry_file
registry_rebuildincludes/bootstrap.incRescan all enabled modules and rebuild the registry.
_registry_check_codeincludes/bootstrap.incHelper to check for a resource in the registry.
_registry_parse_fileincludes/registry.incParse a file and save its function and class listings.
_registry_parse_filesincludes/registry.incParse all files that have changed since the registry was last built, and save their function and class listings.
_registry_rebuildincludes/registry.inc@see registry_rebuild.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.