install.inc

Version

1.31.2.2 (checked in on 2007/10/06 at 22:38:28 by drumm)

Constants

Namesort iconDescription
FILE_EXECUTABLE
FILE_EXIST
FILE_NOT_EXECUTABLE
FILE_NOT_EXIST
FILE_NOT_READABLE
FILE_NOT_WRITABLE
FILE_READABLE
FILE_WRITABLE
REQUIREMENT_ERROR
REQUIREMENT_INFO
REQUIREMENT_OK
REQUIREMENT_WARNING
SCHEMA_INSTALLED
SCHEMA_UNINSTALLED

Functions

Namesort iconDescription
drupal_check_moduleCheck a module's requirements.
drupal_check_profileCheck a profile's requirements.
drupal_detect_baseurlAuto detect the base_url with PHP predefined variables.
drupal_detect_database_typesDetect all databases supported by Drupal that are compiled into the current PHP installation.
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_mkdirCreate a directory with specified permissions.
drupal_install_modulesCalls the install function and updates the system table for a given list of modules.
drupal_install_profileInstall a profile (i.e. a set of modules) from scratch. The profile must be verified first using drupal_verify_profile().
drupal_install_profile_nameLoads the profile definition, extracting the profile's defined name.
drupal_load_updatesInitialize the update system by loading all installed module's .install files.
drupal_requirements_severityExtract highest severity from requirements array.
drupal_rewrite_settingsRead settings.php into a buffer line by line, changing values specified in $settings array, then over-writing the old settings.php file.
drupal_set_installed_schema_versionUpdate the installed version information for a module.
drupal_uninstall_moduleCalls 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 a profile for installation.
install_gotoSend the user to a different installer page. This issues an on-site HTTP redirect. Messages (and errors) are erased.
stHardcoded function for doing the equivalent of theme('placeholder') when the theme system is not available.
_system_update_utf8Converts a set of tables to UTF-8 encoding.
 
 

Drupal is a registered trademark of Dries Buytaert.