Semantic MediaWiki and related extensions
|
Public Member Functions | |
init (&$vars, $rootDir) | |
Static Public Member Functions | |
const static | registerExtensionCheck (&$vars) |
static | releaseExtensionCheck (&$vars) |
static | initExtension (&$vars) |
static | isEnabled () |
static | isValid ( $isCli=false) |
Public Attributes | |
const | MINIMUM_DB_VERSION |
Extension setup and registration
GNU GPL v2+
SMW\Setup::init | ( | & | $vars, |
$rootDir | |||
) |
array | &$vars | |
string | $rootDir |
|
static |
Runs at the earliest possible event to initialize functions or hooks that are otherwise too late for the hook system to be recognized.
|
static |
|
static |
|
static |
Registers a hook even before the "early" registration to allow checking whether the extension is loaded and enabled.
array | $vars |
|
static |
array | $vars |
const SMW\Setup::MINIMUM_DB_VERSION |
Describes the minimum requirements for the database version that Semantic MediaWiki expects and may differ from what is defined in:
MysqlInstaller
PostgresInstaller
SqliteInstaller
Any change to a version will modify the key computed by SetupFile::makeKey
.