MediaWiki
REL1_24
|
ResourceLoader module for the edit toolbar. More...
Public Member Functions | |
getModifiedHash (ResourceLoaderContext $context) | |
getModifiedTime (ResourceLoaderContext $context) | |
Protected Member Functions | |
getLessCompiler (ResourceLoaderContext $context=null) | |
Get a LESS compiler instance for this module. | |
Private Member Functions | |
getLessVars (ResourceLoaderContext $context) | |
Get language-specific LESS variables for this module. | |
Static Private Member Functions | |
static | cssSerializeString ($value) |
Serialize a string (escape and quote) for use as a CSS string value. |
ResourceLoader module for the edit toolbar.
Definition at line 28 of file ResourceLoaderEditToolbarModule.php.
static ResourceLoaderEditToolbarModule::cssSerializeString | ( | $ | value | ) | [static, private] |
Serialize a string (escape and quote) for use as a CSS string value.
http://www.w3.org/TR/2013/WD-cssom-20131205/#serialize-a-string
string | $value |
Definition at line 36 of file ResourceLoaderEditToolbarModule.php.
References $value, and array().
Referenced by getLessVars().
ResourceLoaderEditToolbarModule::getLessCompiler | ( | ResourceLoaderContext $ | context = null | ) | [protected] |
Get a LESS compiler instance for this module.
Set our variables in it.
MWException |
ResourceLoaderContext | $context |
Reimplemented from ResourceLoaderFileModule.
Definition at line 97 of file ResourceLoaderEditToolbarModule.php.
References getLessVars().
ResourceLoaderEditToolbarModule::getLessVars | ( | ResourceLoaderContext $ | context | ) | [private] |
Get language-specific LESS variables for this module.
Definition at line 52 of file ResourceLoaderEditToolbarModule.php.
References $key, $value, $vars, as, cssSerializeString(), Language\factory(), and ResourceLoaderContext\getLanguage().
Referenced by getLessCompiler(), and getModifiedHash().
ResourceLoaderContext | $context |
Reimplemented from ResourceLoaderModule.
Definition at line 81 of file ResourceLoaderEditToolbarModule.php.
References getLessVars().
ResourceLoaderContext | $context |
Reimplemented from ResourceLoaderFileModule.
Definition at line 70 of file ResourceLoaderEditToolbarModule.php.
References ResourceLoaderModule\getHashMtime().