Version 1.10.2.4 (checked in on 2010/02/13 at 19:31:04 by agentken)
Domain bootstrap file.
The domain bootstrap process is initiated in domain/settings.inc which is (supposed to be) included in the user's settings.php and therefore initiated during drupal's first bootstrap phase (DRUPAL_BOOTSTRAP_CONFIGURATION).
The purpose of this is to allow domain-based modules to modify basic drupal systems like the variable or database/prefix system - before they are used by any other modules.
Note that all functions in this file are _private, by design. You should never call these functions directly. Public functions are declared in domain.module.
@ingroup domain
| Name | Description |
|---|---|
| DOMAIN_BOOTSTRAP_FULL | Domain bootstrap phase 3: invokes bootstrap hook "hook_domain_bootstrap_full". |
| DOMAIN_BOOTSTRAP_INIT | Domain bootstrap phase 1: makes sure that database is initialized and loads all necessary module files. |
| DOMAIN_BOOTSTRAP_NAME_RESOLVE | Domain bootstrap phase 2: resolves host and does a lookup in the {domain} table. Also invokes hook "hook_domain_bootstrap_lookup". |
| Name | Description |
|---|---|
| domain_bootstrap | Domain module bootstrap: calls all bootstrap phases. |
| domain_get_primary_table | Escape the names of the default tables for variable lookups. |
| domain_initial_domain | Store the initially loaded domain, for later use. |
| domain_unserialize | Unserialize an object stored in {domain_*} tables. |
| _domain_bootstrap | Calls individual bootstrap phases. |
| _domain_bootstrap_invoke_all | Tries to call specified hook on all domain_bootstrap modules. |
| _domain_bootstrap_modules | Returns a list of modules which are loaded during domain_bootstrap phases. |
| _domain_bootstrap_modules_get | Retrieves the value of the variable 'domain_bootstrap_modules' from the {variable} table. This function does not use Drupal's variable system. |
| _domain_bootstrap_modules_load | Tries to load all domain bootstrap modules. See also _domain_bootstrap_modules() |