install.inc

Version 1.153 (checked in on 2011/02/19 at 00:50:43 by dries)

Classes

NameDescription
DatabaseTaskException@class Exception class used to throw error if the DatabaseInstaller fails.
DatabaseTasksDatabase installer structure.

Functions & methods

NameDescription
db_installer_objectReturns a database installer object.
db_run_tasksEnsures the environment for a Drupal database on a predefined connection.
drupal_check_moduleCheck a module's requirements.
drupal_check_profileCheck an install profile's requirements.
drupal_detect_baseurlAuto detect the base_url with PHP predefined variables.
drupal_detect_database_typesDetect all supported databases that are compiled into PHP.
drupal_get_database_typesReturn all supported database installer objects that are compiled into PHP.
drupal_get_installed_schema_versionReturns the currently installed schema version for a module.
drupal_get_schema_versionsReturns an array of available schema versions for a module.
drupal_install_fix_fileAttempt to fix file permissions.
drupal_install_mkdirCreate a directory with specified permissions.
drupal_install_profile_distribution_nameLoads the install profile, extracting its defined distribution name.
drupal_install_systemCallback to install the system module.
drupal_load_updatesInitialize the update system by loading all installed module's .install files.
drupal_requirements_severityExtract highest severity from requirements array.
drupal_rewrite_settingsReplace values in settings.php with values in the submitted array.
drupal_set_installed_schema_versionUpdate the installed version information for a module.
drupal_uninstall_modulesUninstalls a given list of modules.
drupal_verify_install_fileVerify the state of the specified file.
drupal_verify_profileVerify an install profile for installation.
install_gotoSend the user to a different installer page.
install_profile_infoRetrieve info about an install profile from its .info file.
stFunctional equivalent of t(), used when some systems are not available.

Constants

NameDescription
FILE_EXECUTABLEFile permission check -- File is executable.
FILE_EXISTFile permission check -- File exists.
FILE_NOT_EXECUTABLEFile permission check -- File is not executable.
FILE_NOT_EXISTFile permission check -- File does not exist.
FILE_NOT_READABLEFile permission check -- File is not readable.
FILE_NOT_WRITABLEFile permission check -- File is not writable.
FILE_READABLEFile permission check -- File is readable.
FILE_WRITABLEFile permission check -- File is writable.
REQUIREMENT_ERRORRequirement severity -- Error condition; abort installation.
REQUIREMENT_INFORequirement severity -- Informational message only.
REQUIREMENT_OKRequirement severity -- Requirement successfully met.
REQUIREMENT_WARNINGRequirement severity -- Warning condition; proceed but flag warning.
SCHEMA_INSTALLEDIndicates that a module has been installed.
SCHEMA_UNINSTALLEDIndicates that a module has not been installed yet.