b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 2.4) [ class tree: install ] [ index: install ] [ all elements ]

Procedural File: _functions_install.php

Source Location: /blogs/install/_functions_install.php

Page Details

This file implements support functions for the installer

b2evolution - http://b2evolution.net/ Released under GNU GPL License - http://b2evolution.net/about/license.html

Copyright:  (c)2003-2008 by Francois PLANQUE - http://fplanque.net/
Filesource:  Source Code for this file
Functions
advanced_properties  [line 361]

void advanced_properties( )


[ Top ]
cleanup_comment_quotes  [line 78]

void cleanup_comment_quotes( )

Clean up extra quotes in comments



[ Top ]
create_default_settings  [line 130]

void create_default_settings( [array $override = array()]  )

Insert default settings into T_settings.

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

Parameters:
array   $override:  associative array (settings name => value to use), allows overriding of defaults


[ Top ]
create_relations  [line 378]

void create_relations( )

Create relations


Information Tags:
Todo:  NOT UP TO DATE AT ALL :( -- update field names before activating this

[ Top ]
db_col_exists  [line 61]

boolean db_col_exists( $table, $col_name  )
Parameters:
   $table: 
   $col_name: 

API Tags:
Return:  Does a given column name exist in DB?


[ Top ]
get_db_version  [line 33]

void get_db_version( )


[ Top ]
install_basic_plugins  [line 238]

void install_basic_plugins( [integer $old_db_version = 0]  )

Install basic plugins.

This gets called separately on fresh installs.

Parameters:
integer   $old_db_version:  Old DB version, so that only new plugins gets installed


[ Top ]
install_basic_skins  [line 167]

void install_basic_skins( )

Install basic skins.



[ Top ]
install_basic_widgets  [line 272]

void install_basic_widgets( )

Install basic widgets.



[ Top ]
install_validate_requirements  [line 113]

array install_validate_requirements( )

Validate install requirements.


API Tags:
Return:  List of errors, empty array if ok.


[ Top ]
task_begin  [line 17]

void task_begin( $title  )

This will offer other display methods in the future

Parameters:
   $title: 


[ Top ]
task_end  [line 26]

void task_end( )

This will offer other display methods in the future



[ Top ]


Documentation generated on Sat, 06 Mar 2010 03:33:32 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).