install.php
Версия 1.113.2.9 (checked in on 2009/04/27 at 10:50:35 by goba)
Documentation for the installation and update system.
The update system is used by modules to provide database updates which are run with update.php.
Implementations of these hooks should be placed in a mymodule.install file in the same directory as mymodule.module.
Константы
Имя | Описание |
---|---|
MAINTENANCE_MODE | Глобальный флаг для определения запуска update.php, и так же для избежания различных нежелательных операций, таких как вызовы hook_init() и hook_exit(), предобработки css/js и перевода, и решения некоторых проблем темизации. Этот флаг встречается в нескольких местах кода Друпал... |
Функции
Имя | Описание |
---|---|
install_already_done_error | Show an error page when Drupal has already been installed. |
install_change_settings | Configure and rewrite settings.php. |
install_check_requirements | Check installation requirements and report any errors. |
install_configure_form | Form API array definition for site configuration. |
install_configure_form_submit | Form API submit for the site configuration form. |
install_configure_form_validate | Form API validate for the site configuration form. |
install_find_locales | Find all .po files for the current profile. |
install_find_profiles | Find all .profile files. |
install_main | The Drupal installation happens in a series of steps. We begin by verifying that the current environment meets our minimum requirements. We then go on to verify that settings.php is properly configured. From there we connect to the configured database... |
install_no_profile_error | Show an error page when there are no profiles available. |
install_reserved_tasks | The list of reserved tasks to run in the installer. |
install_select_locale | Allow admin to select which locale to use for the current profile. |
install_select_locale_form | Form API array definition for language selection. |
install_select_profile | Allow admin to select which profile to install. |
install_select_profile_form | Form API array definition for the profile selection form. |
install_settings_form | Form API array definition for install_settings. |
install_settings_form_submit | Form API submit for install_settings form. |
install_settings_form_validate | Form API validate for install_settings form. |
install_tasks | Tasks performed after the database is initialized. |
install_task_list | Add the installation task list to the current page. |
install_verify_drupal | Verify if Drupal is installed. |
install_verify_settings | Verify existing settings.php |
_install_locale_initial_batch_finished | Finished callback for the first locale import batch. |
_install_locale_remaining_batch_finished | Finished callback for the second locale import batch. |
_install_module_batch | Batch callback for batch installation of modules. |
_install_profile_batch_finished | Finished callback for the modules install batch. |
_install_settings_form_validate | Helper function for install_settings_validate. |