Todo List
This file implements support functions for the installer
Quam Plures - http://quamplures.net/ Released under GNU GPL License - http://quamplures.net/license.html
void advanced_properties( )
void block_close( )
Close a block
void block_open( )
Open a block
void cleanup_comment_quotes( )
Clean up extra quotes in comments
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.
void create_relations( )
Create relations
boolean db_col_exists( $table, $col_name )
void display_base_config_recap( )
Base config recap
void display_locale_selector( )
Language selector
void get_db_version( $which )
Get DB version
returns either the database version or the version during upgrading
void install_basic_plugins( [integer $old_db_version = 0] )
Install basic plugins.
This gets called separately on fresh installs and installs all plugins found in the qp_plugins folder EXCEPT 'test_plugin' and 'generic_ping_plugin'.
void install_basic_templates( )
Install basic templates.
void install_basic_widgets( )
Install basic widgets.
void install_newdb( )
Install new DB.
true install_plugin( $plugin )
array install_validate_requirements( )
Validate install requirements.
void load_db_schema( )
Loads the QP database scheme.
This gets updated through db_delta() which generates the queries needed to get to this scheme.
Please see db_delta() for things to take care of.
void task_end( )
End install task.
This will offer other display methods in the future
true uninstall_plugin( $plugin )