\UPDATEDATABASE

UPDATEDATABASE

Update the database as required

Summary

Methods
Properties
Constants
__construct()
createDbSchema()
updateDbSchema()
configDefaults()
$upgradeCompleted
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$upgradeCompleted

$upgradeCompleted : 

boolean

Type

Methods

__construct()

__construct() : 

UPDATEDATABASE

Returns

createDbSchema()

createDbSchema(  pluginPath = DIRECTORY_SEPARATOR) : 

Create the database structure with the definitions of the dbschema store

Parameters

pluginPath

is the path to the root directory of a plugin. Default is the constant DIRECTORY_SEPARATOR for the core

Returns

updateDbSchema()

updateDbSchema(  wkxVersion,   pluginPath = DIRECTORY_SEPARATOR) : 

Update the database structure with the definitions of the dbschema store for a specific version

Parameters

wkxVersion

Version number of Wikindx

pluginPath

is the path to the root directory of a plugin. Default is the constant DIRECTORY_SEPARATOR for the core

Returns

configDefaults()

configDefaults() : 

Fill new config table (>= WIKINDX v5.3) with some default configuration values

Returns