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). The list of included files is cached per menu callback for subsequent loading by the menu router. This way, a given page request will have all the code it needs but little else, minimizing time spent parsing unneeded code.
| Name | Beschreibung |
|---|---|
| drupal_autoload_class | Confirm that a class is available. |
| drupal_autoload_interface | Confirm that an interface is available. |
| drupal_function_exists | Confirm that a function is available. |
| registry_get_parsed_files | Return the list of files in registry_file |
| registry_rebuild | Rescan all enabled modules and rebuild the registry. |
| _registry_check_code | Helper to check for a resource in the registry. |
| _registry_get_resource_name | Derive the name of the next resource in the token stream. |
| _registry_parse_file | Parse a file and save its function and class listings. |
| _registry_parse_files | Parse all files that have changed since the registry was last built, and save their function and class listings. |
| _registry_rebuild | |
| _registry_skip_body | Skip the body of a code block, as defined by { and }. |
includes/
Kommentare
Kommentar hinzufügen