[ Index ]
 

Code source de Drupal 5.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/includes/ -> install.inc (sommaire)

(pas de description)

Poids: 742 lignes (22 kb)
Inclus ou requis: 10 fois
Référencé: 0 fois
Nécessite: 4 fichiers
 includes/locale.inc
 includes/common.inc
 includes/theme.inc
 includes/file.inc

Définit 22 fonctions

  drupal_load_updates()
  drupal_get_schema_versions()
  drupal_get_installed_schema_version()
  drupal_set_installed_schema_version()
  drupal_install_profile_name()
  drupal_detect_baseurl()
  drupal_detect_database_types()
  drupal_rewrite_settings()
  drupal_get_install_files()
  drupal_verify_profile()
  drupal_install_profile()
  drupal_install_modules()
  drupal_uninstall_module()
  drupal_verify_install_file()
  drupal_install_mkdir()
  drupal_install_fix_file()
  install_goto()
  st()
  _system_update_utf8()
  drupal_check_profile()
  drupal_requirements_severity()
  drupal_check_module()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

drupal_load_updates()   X-Ref
Initialize the update system by loading all installed module's .install files.


drupal_get_schema_versions($module)   X-Ref
Returns an array of available schema versions for a module.

param: $module
return:

drupal_get_installed_schema_version($module, $reset = FALSE)   X-Ref
Returns the currently installed schema version for a module.

param: $module
return:

drupal_set_installed_schema_version($module, $version)   X-Ref
Update the installed version information for a module.

param: $module
param: $version

drupal_install_profile_name()   X-Ref
Loads the profile definition, extracting the profile's defined name.

return:

drupal_detect_baseurl($file = 'install.php')   X-Ref
Auto detect the base_url with PHP predefined variables.

param: $file
return:

drupal_detect_database_types()   X-Ref
Detect all databases supported by Drupal that are compiled into the current
PHP installation.

return:

drupal_rewrite_settings($settings = array()   X-Ref
Read settings.php into a buffer line by line, changing values specified in
$settings array, then over-writing the old settings.php file.

param: $settings

drupal_get_install_files($module_list = array()   X-Ref
Get list of all .install files.

param: $module_list

drupal_verify_profile($profile, $locale)   X-Ref
Verify a profile for installation.

param: profile
param: locale
return:

drupal_install_profile($profile, $module_list)   X-Ref
Install a profile (i.e. a set of modules) from scratch.
The profile must be verified first using drupal_verify_profile().

param: profile
param: module_list

drupal_install_modules($module_list = array()   X-Ref
Calls the install function and updates the system table for a given list of
modules.

param: module_list

drupal_uninstall_module($module)   X-Ref
Calls the uninstall function and updates the system table for a given module.

param: $module

drupal_verify_install_file($file, $mask = NULL, $type = 'file')   X-Ref
Verify the state of the specified file.

param: $file
param: $mask
param: $type
return:

drupal_install_mkdir($file, $mask, $message = TRUE)   X-Ref
Create a directory with specified permissions.

param: file
param: mask
param: $message
return:

drupal_install_fix_file($file, $mask, $message = TRUE)   X-Ref
Attempt to fix file permissions.

The general approach here is that, because we do not know the security
setup of the webserver, we apply our permission changes to all three
digits of the file permission (i.e. user, group and all).

To ensure that the values behave as expected (and numbers don't carry
from one digit to the next) we do the calculation on the octal value
using bitwise operations. This lets us remove, for example, 0222 from
0700 and get the correct value of 0500.

param: $file
param: $mask
param: $message
return:

install_goto($path)   X-Ref
Send the user to a different installer page. This issues an on-site HTTP
redirect. Messages (and errors) are erased.

param: $path

st($string, $args = array()   X-Ref
Hardcoded function for doing the equivalent of theme('placeholder')
when the theme system is not available.


_system_update_utf8($tables)   X-Ref
Converts a set of tables to UTF-8 encoding.

This update is designed to be re-usable by contrib modules and is
used by system_update_169().

drupal_check_profile($profile)   X-Ref
Check a profile's requirements.

param: profile

drupal_requirements_severity(&$requirements)   X-Ref
Extract highest severity from requirements array.


drupal_check_module($module)   X-Ref
Check a module's requirements.




Généré le : Fri Nov 30 16:20:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics