[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/resourceloader/ -> ResourceLoaderEditToolbarModule.php (summary)

Resource loader module for the edit toolbar. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 102 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ResourceLoaderEditToolbarModule:: (5 methods):
  cssSerializeString()
  getLessVars()
  getModifiedTime()
  getModifiedHash()
  getLessCompiler()


Class: ResourceLoaderEditToolbarModule  - X-Ref

ResourceLoader module for the edit toolbar.

cssSerializeString( $value )   X-Ref
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

param: string $value
return: string

getLessVars( ResourceLoaderContext $context )   X-Ref
Get language-specific LESS variables for this module.

return: array

getModifiedTime( ResourceLoaderContext $context )   X-Ref

param: ResourceLoaderContext $context
return: int UNIX timestamp

getModifiedHash( ResourceLoaderContext $context )   X-Ref

param: ResourceLoaderContext $context
return: string Hash

getLessCompiler( ResourceLoaderContext $context = null )   X-Ref
Get a LESS compiler instance for this module.

Set our variables in it.

param: ResourceLoaderContext $context
return: lessc



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1