class for installing a module or upgrading it.
base actions are:
install: registers the module into the database
update: checks module version in database and perform any needed updates e.g. from version 1.04 to 1.07 or 0.01 to 0.07 If more upgrades exist. Upgrade all one after one.
remove: removes the module from the modules table and also tables connected to module.
Located in /lib/moduleInstaller.php (line 37)
db | --moduleInstaller
Inherited from db
db::$dbh
db::$debug
constructor which will take the module to install, upgrade or delete as param and set info about module to be installed, upgraded, etc.
if module is set
method for deling modules menu item when uninstalling
method for getting module info. Info is read from database
method for inserting a language into the system language table system language is messages which is needed outside of the module scope, e.g. menu items.
method for creating the modules main menu items create new row to module register
method for installing a module.
checks if module already is installed, if not we install it.
method for checking if a module is installed or not checking is just done by looking into the modules table of database
method to reload all languages gets all modules reloads language files one after another.
reads install info from modules/module_name/install.inc
method for uninstalling a module
method for upgrading a module
method for upgrading all modules.
Not used for now.
Inherited From db
db::__construct()
db::connect()
db::delete()
db::fatalError()
db::getDebug()
db::getNumRows()
db::insert()
db::prepareToPost()
db::rawQuery()
db::select()
db::selectAll()
db::selectOne()
db::selectQuery()
db::simpleSearch()
db::simpleSearchCount()
db::update()
Documentation generated on Fri, 17 Dec 2010 17:56:36 +0100 by phpDocumentor 1.4.3