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

Public Member Functions

 __construct ()
 
 runPreferencePlugin ($sAdapterName, $oVariable)
 
 onBeforePageDisplay (&$out, &$skin)
 
- 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)
 

Protected Member Functions

 initExt ()
 
- Protected Member Functions inherited from BsExtensionMW
 initExt ()
 

Additional Inherited Members

- 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

BoilerPlate::__construct ( )

Contructor of the BoilerPlate class

Member Function Documentation

BoilerPlate::initExt ( )
protected

Initialization of BoilerPlate extension

BoilerPlate::onBeforePageDisplay ( $out,
$skin 
)

Adds resources to ResourceLoader

Parameters
OutputPage$out
Skin$skin
Returns
boolean Always true to keep hook running
BoilerPlate::runPreferencePlugin (   $sAdapterName,
  $oVariable 
)

Called by Preferences and UserPreferences

Parameters
string$sAdapterNameName of the adapter. Probably MW.
BsConfig$oVariableThe variable that is to be specified.
Returns
array Option array of specifications.

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