[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/install/ -> _functions_install.php (sommaire)

This file implements support functions for the installer b2evolution - {@link http://b2evolution.net/} Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}

Copyright: (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/}
Poids: 634 lignes (20 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 12 fonctions

  task_begin()
  task_end()
  check_db_version()
  cleanup_post_quotes()
  cleanup_comment_quotes()
  install_validate_requirements()
  create_default_settings()
  install_basic_skins()
  install_basic_plugins()
  install_basic_widgets()
  advanced_properties()
  create_relations()

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

task_begin( $title )   X-Ref
This will offer other display methods in the future


task_end()   X-Ref
This will offer other display methods in the future


check_db_version()   X-Ref
check_db_version(-)

Note: version number 8000 once meant 0.8.00.0, but I decided to switch to sequential
increments of 10 (in case we ever need to introduce intermediate versions for intermediate
bug fixes...)

cleanup_post_quotes( $col_ID = 'ID' )   X-Ref
Clean up extra quotes in posts


cleanup_comment_quotes()   X-Ref
Clean up extra quotes in comments


install_validate_requirements()   X-Ref
Validate install requirements.

return: array List of errors, empty array if ok.

create_default_settings( $override = array()   X-Ref
Insert default settings into T_settings.

It only writes those to DB, that get overridden (passed as array), or have
no default in {@link _generalsettings.class.php} / {@link GeneralSettings::default}.

param: array associative array (settings name => value to use), allows

install_basic_skins()   X-Ref
Install basic skins.


install_basic_plugins( $old_db_version = 0 )   X-Ref
Install basic plugins.

This gets called separately on fresh installs.

{@internal
NOTE: this won't call the "AfterInstall" method on the plugin nor install its DB schema.
This get done in the plugins controller, on manually installing a plugin.

If you change the number of plugins here, please also adjust {@link InstallUnitTestCase::nr_of_basic_plugins}.
}}

param: integer Old DB version, so that only new plugins gets installed

install_basic_widgets()   X-Ref
Install basic widgets.


advanced_properties()   X-Ref
Pas de description

create_relations()   X-Ref
Create relations




Généré le : Thu Nov 29 23:58:50 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics