MediaWiki  1.28.0
CSSMinTestable Class Reference
Inheritance diagram for CSSMinTestable:
Collaboration diagram for CSSMinTestable:

Static Public Member Functions

static isLocalUrl ($maybeUrl)
 
static isRemoteUrl ($maybeUrl)
 
- Static Public Member Functions inherited from CSSMin
static buildUrlValue ($url)
 Build a CSS 'url()' value for the given URL, quoting parentheses (and other funny characters) and escaping quotes as necessary. More...
 
static encodeImageAsDataURI ($file, $type=null, $ie8Compat=true)
 Encode an image file as a data URI. More...
 
static encodeStringAsDataURI ($contents, $type, $ie8Compat=true)
 Encode file contents as a data URI with chosen MIME type. More...
 
static array static getLocalFileReferences ($source, $path)
 Get a list of local files referenced in a stylesheet (includes non-existent files). More...
 
static getMimeType ($file)
 
static minify ($css)
 Removes whitespace from CSS data. More...
 
static remap ($source, $local, $remote, $embedData=true)
 Remaps CSS URL paths and automatically embeds data URIs for CSS rules or url() values preceded by an / * * / comment. More...
 
static remapOne ($file, $query, $local, $remote, $embed)
 Remap or embed a CSS URL path. More...
 
static serializeStringValue ($value)
 Serialize a string (escape and quote) for use as a CSS string value. More...
 

Additional Inherited Members

- Public Attributes inherited from CSSMin
const COMMENT_REGEX = '\/\*.*?\*\/'
 
const DATA_URI_SIZE_LIMIT = 32768
 Internet Explorer data URI length limit. More...
 
const EMBED_REGEX = '\/\*\s*\@embed\s*\*\/'
 
const URL_REGEX = 'url\(\s*[\'"]?(?P<file>[^\?\)\'"]*?)(?P<query>\?[^\)\'"]*?|)[\'"]?\s*\)'
 
- Static Protected Member Functions inherited from CSSMin
static isLocalUrl ($maybeUrl)
 Is this CSS rule referencing a local URL? More...
 
static isRemoteUrl ($maybeUrl)
 Is this CSS rule referencing a remote URL? More...
 
- Static Protected Attributes inherited from CSSMin
static array $mimeTypes
 List of common image files extensions and MIME-types. More...
 

Detailed Description

Definition at line 447 of file CSSMinTest.php.

Member Function Documentation

static CSSMinTestable::isLocalUrl (   $maybeUrl)
static

Definition at line 452 of file CSSMinTest.php.

Referenced by CSSMinTest\testIsLocalUrl().

static CSSMinTestable::isRemoteUrl (   $maybeUrl)
static

Definition at line 449 of file CSSMinTest.php.

Referenced by CSSMinTest\testIsRemoteUrl().


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