Semantic MediaWiki and related extensions
Public Member Functions | Protected Attributes | List of all members
SMW\MediaWiki\Hooks\ResourceLoaderGetConfigVars Class Reference

Public Member Functions

 __construct (array &$vars)
 
 process ()
 

Protected Attributes

 $vars
 

Detailed Description

Hook: ResourceLoaderGetConfigVars called right before ResourceLoaderStartUpModule::getConfig and exports static configuration variables to JavaScript. Things that depend on the current page/request state should use MakeGlobalVariablesScript instead

See also
https://www.mediawiki.org/wiki/Manual:Hooks/ResourceLoaderGetConfigVars

GNU GPL v2+

Since
2.0
Author
mwjames

Constructor & Destructor Documentation

SMW\MediaWiki\Hooks\ResourceLoaderGetConfigVars::__construct ( array &  $vars)
Since
2.0
Parameters
array$vars

Member Function Documentation

SMW\MediaWiki\Hooks\ResourceLoaderGetConfigVars::process ( )
Since
1.9
Returns
boolean

Member Data Documentation

SMW\MediaWiki\Hooks\ResourceLoaderGetConfigVars::$vars
protected

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