install.inc
Version 1.115 (checked in on 2009/10/13 at 21:16:43 by dries)
Constants
| Name | Description |
|---|---|
| FILE_EXECUTABLE | File permission check -- File is executable. |
| FILE_EXIST | File permission check -- File exists. |
| FILE_NOT_EXECUTABLE | File permission check -- File is not executable. |
| FILE_NOT_EXIST | File permission check -- File does not exist. |
| FILE_NOT_READABLE | File permission check -- File is not readable. |
| FILE_NOT_WRITABLE | File permission check -- File is not writable. |
| FILE_READABLE | File permission check -- File is readable. |
| FILE_WRITABLE | File permission check -- File is writable. |
| REQUIREMENT_ERROR | Requirement severity -- Error condition; abort installation. |
| REQUIREMENT_INFO | Requirement severity -- Informational message only. |
| REQUIREMENT_OK | Requirement severity -- Requirement successfully met. |
| REQUIREMENT_WARNING | Requirement severity -- Warning condition; proceed but flag warning. |
| SCHEMA_INSTALLED | Indicates that a module has been installed. |
| SCHEMA_UNINSTALLED | Indicates that a module has not been installed yet. |
Functions
| Name | Description |
|---|---|
| db_run_tasks | Ensures the environment for a Drupal database on a predefined connection. |
| drupal_check_module | Check a module's requirements. |
| drupal_check_profile | Check an install profile's requirements. |
| drupal_detect_baseurl | Auto detect the base_url with PHP predefined variables. |
| drupal_detect_database_types | Detect all supported databases that are compiled into PHP. |
| drupal_get_installed_schema_version | Returns the currently installed schema version for a module. |
| drupal_get_install_files | Get list of all .install files. |
| drupal_get_schema_versions | Returns an array of available schema versions for a module. |
| drupal_install_fix_file | Attempt to fix file permissions. |
| drupal_install_initialize_database | Manually include all files for the active database. |
| drupal_install_mkdir | Create a directory with specified permissions. |
| drupal_install_modules | Calls the install function for a given list of modules. |
| drupal_install_profile_name | Loads the install profile definition, extracting its defined name. |
| drupal_install_system | Callback to install the system module. |
| drupal_load_updates | Initialize the update system by loading all installed module's .install files. |
| drupal_requirements_severity | Extract highest severity from requirements array. |
| drupal_rewrite_settings | Replace values in settings.php with values in the submitted array. |
| drupal_set_installed_schema_version | Update the installed version information for a module. |
| drupal_uninstall_modules | Calls the uninstall function and updates the system table for a given module. |
| drupal_verify_install_file | Verify the state of the specified file. |
| drupal_verify_profile | Verify an install profile for installation. |
| install_goto | Send the user to a different installer page. |
| install_profile_info | Retrieve info about an install profile from its .info file. |
| st | Functional equivalent of t(), used when some systems are not available. |
| _drupal_install_module | Callback to install an individual install profile module. |
