domain.bootstrap.inc

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

Constants

NameDescription
DOMAIN_BOOTSTRAP_FULLDomain bootstrap phase 3: invokes bootstrap hook "hook_domain_bootstrap_full".
DOMAIN_BOOTSTRAP_INITDomain bootstrap phase 1: makes sure that database is initialized and loads all necessary module files.
DOMAIN_BOOTSTRAP_NAME_RESOLVEDomain bootstrap phase 2: resolves host and does a lookup in the {domain} table. Also invokes hook "hook_domain_bootstrap_lookup".

Functions

NameDescription
domain_bootstrapDomain module bootstrap: calls all bootstrap phases.
domain_get_primary_tableEscape the names of the default tables for variable lookups.
domain_initial_domainStore the initially loaded domain, for later use.
domain_unserializeUnserialize an object stored in {domain_*} tables.
_domain_bootstrapCalls individual bootstrap phases.
_domain_bootstrap_invoke_allTries to call specified hook on all domain_bootstrap modules.
_domain_bootstrap_modulesReturns a list of modules which are loaded during domain_bootstrap phases.
_domain_bootstrap_modules_getRetrieves the value of the variable 'domain_bootstrap_modules' from the {variable} table. This function does not use Drupal's variable system.
_domain_bootstrap_modules_loadTries to load all domain bootstrap modules. See also _domain_bootstrap_modules()

Contact

  • agentrickard [at] gmail [dot] com

Donations

My Amazon.com Wish List