UPDATEDATABASE
in package
UPDATEDATABASE
Update the database as required
Table of Contents
Methods
- __construct() : mixed
- UPDATEDATABASE
- createDbSchema() : mixed
- Create the database structure with the definitions of the dbschema store
- updateDbSchema() : mixed
- Update the database structure with the definitions of the dbschema store for a specific version
Methods
__construct()
UPDATEDATABASE
public
__construct() : mixed
createDbSchema()
Create the database structure with the definitions of the dbschema store
public
createDbSchema([string $pluginPath = DIRECTORY_SEPARATOR ]) : mixed
Parameters
- $pluginPath : string = DIRECTORY_SEPARATOR
-
is the path to the root directory of a plugin. Default is the constant DIRECTORY_SEPARATOR for the core
updateDbSchema()
Update the database structure with the definitions of the dbschema store for a specific version
public
updateDbSchema(float|int|string $wkxVersion[, string $pluginPath = DIRECTORY_SEPARATOR ]) : mixed
If $wkxVersion is NULL, the version number used is. $this->targetVersion
Parameters
- $wkxVersion : float|int|string
-
Version number of WIKINDX
- $pluginPath : string = DIRECTORY_SEPARATOR
-
is the path to the root directory of a plugin. Default is the constant DIRECTORY_SEPARATOR for the core