Semantic MediaWiki and related extensions
Public Member Functions | Static Public Member Functions | List of all members
SMW\Setup Class Reference

Public Member Functions

 init (&$vars, $rootDir)
 

Static Public Member Functions

static checkExtensionRegistration (&$vars)
 
static initExtension (&$vars)
 
static isEnabled ()
 
static isValid ( $isCli=false)
 

Detailed Description

Extension setup and registration

GNU GPL v2+

Since
1.9
Author
mwjames

Member Function Documentation

◆ checkExtensionRegistration()

static SMW\Setup::checkExtensionRegistration ( $vars)
static

Registers a hook even before the "early" registration to allow checking whether the extension is loaded and enabled.

Since
3.1
Parameters
array$vars

◆ init()

SMW\Setup::init ( $vars,
  $rootDir 
)
Since
1.9
Parameters
array&$vars
string$rootDir

◆ initExtension()

static SMW\Setup::initExtension ( $vars)
static

Runs at the earliest possible event to initialize functions or hooks that are otherwise too late for the hook system to be recognized.

Since
3.0

◆ isEnabled()

static SMW\Setup::isEnabled ( )
static
Since
3.0

◆ isValid()

static SMW\Setup::isValid (   $isCli = false)
static
Since
3.0

The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy