BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
Flexiskin Class Reference
Inheritance diagram for Flexiskin:
Collaboration diagram for Flexiskin:

Public Member Functions

 __construct ()
 
 initExt ()
 
 runPreferencePlugin ($sAdapterName, BsConfig $oVariable)
 
- Public Member Functions inherited from BsExtensionMW
 setCore ($oCore)
 
 getInfo ()
 
 setup ($sExtName="", $aConfig=array())
 
 setHook ($hook, $method=false, $bExecuteFirst=false)
 
 setContext (\IContextSource $context)
 
 setConfig (\Config $config)
 
 getResourcePath ()
 
 getName ()
 
 getExtensionKey ()
 
 getExtensionPath ()
 
 getImagePath ($bResources=false)
 
 getCacheKey ($sSubKey= 'default')
 
 makeTagExtensionDefinitions ()
 
- Public Member Functions inherited from BlueSpice\Extension
 jsonSerialize ()
 
 __construct (array $definition,\IContextSource $context,\Config $config)
 
 getInfo ()
 
 getResourcePath ()
 
 getExtensionPath ()
 
 getName ()
 
 getAuthors ()
 
 getStatus ()
 
 getPackage ()
 
 getUrl ()
 
 getVersion ()
 
 getExtensionKey ()
 
- Public Member Functions inherited from BlueSpice\Context
 __construct (\IContextSource $context,\Config $config)
 
 canUseWikiPage ()
 
 exportSession ()
 
 getConfig ()
 
 getLanguage ()
 
 getOutput ()
 
 getRequest ()
 
 getSkin ()
 
 getStats ()
 
 getTiming ()
 
 getTitle ()
 
 getUser ()
 
 getWikiPage ()
 
 msg ($key)
 

Static Public Member Functions

static onRegistration ()
 
static generateConfigFile ($oData)
 
static getFlexiskinIdFromConfig ($aConfig)
 
static onBeforePageDisplay (&$out)
 
static onResourceLoaderRegisterModules (&$resourceLoader)
 
static generateDynamicModuleStyleName ($flexiskinId)
 
static getFlexiskinConfig ($sId)
 
static onUnitTestsList (array &$paths)
 

Additional Inherited Members

- Protected Member Functions inherited from BsExtensionMW
 initExt ()
 
- Protected Attributes inherited from BsExtensionMW
 $mExtensionKey = null
 
 $mExtensionFile = null
 
 $mExtensionType = null
 
 $mInfo = null
 
 $mResourcePath = null
 
 $sName = ''
 
 $sStatus = ''
 
 $sPackage = ''
 
 $mCore = null
 
 $aStandardContext = array( '*', '*', '*' )
 
- Protected Attributes inherited from BlueSpice\Extension
 $extPath = ''
 
 $name = ''
 
 $authors = []
 
 $version = ''
 
 $url = ''
 
 $status = ''
 
 $package = ''
 
- Protected Attributes inherited from BlueSpice\Context
 $context = null
 
 $config = null
 

Constructor & Destructor Documentation

Flexiskin::__construct ( )

Initialization of Flexiskin extension

Member Function Documentation

static Flexiskin::generateDynamicModuleStyleName (   $flexiskinId)
static
Parameters
string$flexiskinId
Returns
string
static Flexiskin::getFlexiskinConfig (   $sId)
static

Gets the configuration for a Flexiskin by ID

Parameters
String$sId
Returns
stdClass The config object
static Flexiskin::onBeforePageDisplay ( $out)
static
Parameters
OutputPage$out
Returns
boolean
static Flexiskin::onRegistration ( )
static

extension.json callback array $wgForeignFileRepos

static Flexiskin::onResourceLoaderRegisterModules ( $resourceLoader)
static
Parameters
ResourceLoader$resourceLoader
Returns
boolean
static Flexiskin::onUnitTestsList ( array &  $paths)
static

UnitTestsList allows registration of additional test suites to execute under PHPUnit. Extensions can append paths to files to the $paths array, and since MediaWiki 1.24, can specify paths to directories, which will be scanned recursively for any test case files with the suffix "Test.php".

Parameters
array$paths

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