install.inc

Version 1.115 (checked in on 2009/10/13 at 21:16:43 by dries)

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.

Functions

NameDescription
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_installed_schema_versionReturns the currently installed schema version for a module.
drupal_get_install_filesGet list of all .install files.
drupal_get_schema_versionsReturns an array of available schema versions for a module.
drupal_install_fix_fileAttempt to fix file permissions.
drupal_install_initialize_databaseManually include all files for the active database.
drupal_install_mkdirCreate a directory with specified permissions.
drupal_install_modulesCalls the install function for a given list of modules.
drupal_install_profile_nameLoads the install profile definition, extracting its defined 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_modulesCalls the uninstall function and updates the system table for a given module.
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.
_drupal_install_moduleCallback to install an individual install profile module.
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.