| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 1180 lines (47 kb) |
| Included or required: | 0 times |
| Referenced: | 2 times |
| Includes or requires: | 11 files includes/locale.inc includes/form.inc includes/bootstrap.inc includes/batch.inc includes/module.inc includes/file.inc includes/install.inc modules/system/system.install includes/cache.inc includes/cache-install.inc includes/database.inc |
| install_main() X-Ref |
| 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 and verify that it meets our minimum requirements. Finally we can allow the user to select an installation profile and complete the installation process. param: $phase |
| install_verify_drupal() X-Ref |
| Verify if Drupal is installed. |
| install_verify_settings() X-Ref |
| Verify existing settings.php |
| install_change_settings($profile = 'default', $install_locale = '') X-Ref |
| Configure and rewrite settings.php. |
| install_settings_form(&$form_state, $profile, $install_locale, $settings_file, $db_url, $db_type, $db_prefix, $db_user, $db_pass, $db_host, $db_port, $db_path) X-Ref |
| Form API array definition for install_settings. |
| install_settings_form_validate($form, &$form_state) X-Ref |
| Form API validate for install_settings form. |
| _install_settings_form_validate($db_prefix, $db_type, $db_user, $db_pass, $db_host, $db_port, $db_path, $settings_file, &$form_state, $form = NULL) X-Ref |
| Helper function for install_settings_validate. |
| install_settings_form_submit($form, &$form_state) X-Ref |
| Form API submit for install_settings form. |
| install_find_profiles() X-Ref |
| Find all .profile files. |
| install_select_profile() X-Ref |
| Allow admin to select which profile to install. return: |
| install_select_profile_form(&$form_state, $profile_files) X-Ref |
| Form API array definition for the profile selection form. param: $form_state param: $profile_files |
| install_find_locales($profilename) X-Ref |
| Find all .po files for the current profile. |
| install_select_locale($profilename) X-Ref |
| Allow admin to select which locale to use for the current profile. return: |
| install_select_locale_form(&$form_state, $locales) X-Ref |
| Form API array definition for language selection. |
| install_no_profile_error() X-Ref |
| Show an error page when there are no profiles available. |
| install_already_done_error() X-Ref |
| Show an error page when Drupal has already been installed. |
| install_tasks($profile, $task) X-Ref |
| Tasks performed after the database is initialized. |
| _install_module_batch($module, $module_name, &$context) X-Ref |
| Batch callback for batch installation of modules. |
| _install_profile_batch_finished($success, $results) X-Ref |
| Finished callback for the modules install batch. Advance installer task to language import. |
| _install_locale_initial_batch_finished($success, $results) X-Ref |
| Finished callback for the first locale import batch. Advance installer task to the configure screen. |
| _install_locale_remaining_batch_finished($success, $results) X-Ref |
| Finished callback for the second locale import batch. Advance installer task to the finished screen. |
| install_reserved_tasks() X-Ref |
| The list of reserved tasks to run in the installer. |
| install_check_requirements($profile, $verify) X-Ref |
| Check installation requirements and report any errors. |
| install_task_list($active = NULL) X-Ref |
| Add the installation task list to the current page. |
| install_configure_form(&$form_state, $url) X-Ref |
| Form API array definition for site configuration. |
| install_configure_form_validate($form, &$form_state) X-Ref |
| Form API validate for the site configuration form. |
| install_configure_form_submit($form, &$form_state) X-Ref |
| Form API submit for the site configuration form. |
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |