Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\MediaWiki\Hooks\ResourceLoaderGetConfigVars Class Reference
Inheritance diagram for SMW\MediaWiki\Hooks\ResourceLoaderGetConfigVars:
Inheritance graph
[legend]
Collaboration diagram for SMW\MediaWiki\Hooks\ResourceLoaderGetConfigVars:
Collaboration graph
[legend]

Public Member Functions

 process (array &$vars)
 
- Public Member Functions inherited from SMW\MediaWiki\Hooks\HookHandler
 __construct ()
 
 setOptions (array $options)
 
 getOption ( $key, $default=null)
 
 isFlagSet ( $key, $flag)
 

Additional Inherited Members

- Protected Member Functions inherited from SMW\MediaWiki\Hooks\HookHandler
 log ( $message, $context=[])
 

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

Member Function Documentation

◆ process()

SMW\MediaWiki\Hooks\ResourceLoaderGetConfigVars::process ( array &  $vars)
Since
1.9
Parameters
array$vars
Returns
boolean

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

About | General disclaimer | Privacy policy