Class flDbInstaller
flDbInstaller Class
Class to install, uninstall and update database tables used by fusionLib.
Abstract
Package: fusionLib
Copyright:
Copyright (c) 2007 - 2013 fusionLib. All rights reserved.
Located at system/libs/Db/flDbInstaller.php
Methods summary
public static
|
#
install( flDb $db, array $what = null )
Install or upgrade database tables for modules.
Install or upgrade database tables for modules.
Parameters
- $db
- The database object through which to access the database.
- $what
If null then the database tables are installed/upgraded for all modules
otherwise it is a list of the module names e.g. 'Ac', 'Openid' to install/upgrade.
|
public static
|
#
uninstall( flDb $db, array $what = null )
Uninstall the database tables for modules, all data is lost.
Uninstall the database tables for modules, all data is lost.
Parameters
- $db
- The database object through which to access the database.
- $what
If null then the database tables are removed for all modules
otherwise it is a list of the module names e.g. 'Ac', 'Openid' to uninstall.
|