ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
Assetic\Util\LessUtils Class Reference

Less Utils. More...

+ Inheritance diagram for Assetic\Util\LessUtils:
+ Collaboration diagram for Assetic\Util\LessUtils:

Data Fields

const REGEX_IMPORTS = '/@import(?:-once)? (?:\([a-z]*\) )?(?:url\()?(\'|"|)(?P<url>[^\'"\)\n\r]*)\1\)?;?/'
 
const REGEX_IMPORTS_NO_URLS = '/@import(?:-once)? (?:\([a-z]*\) )?(?!url\()(\'|"|)(?P<url>[^\'"\)\n\r]*)\1;?/'
 
const REGEX_COMMENTS = '/((?:\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\/)|\/\/[^\n]+)/'
 
- Data Fields inherited from Assetic\Util\CssUtils
const REGEX_URLS = '/url\((["\']?)(?P<url>.*?)(\\1)\)/'
 
const REGEX_IMPORTS = '/@import (?:url\()?(\'|"|)(?P<url>[^\'"\)\n\r]*)\1\)?;?/'
 
const REGEX_IMPORTS_NO_URLS = '/@import (?!url\()(\'|"|)(?P<url>[^\'"\)\n\r]*)\1;?/'
 
const REGEX_IE_FILTERS = '/src=(["\']?)(?P<url>.*?)\\1/'
 
const REGEX_COMMENTS = '/(\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\/)/'
 

Additional Inherited Members

- Static Public Member Functions inherited from Assetic\Util\CssUtils
static filterReferences ($content, $callback)
 Filters all references – url() and "@import" – through a callable. More...
 
static filterUrls ($content, $callback)
 Filters all CSS url()'s through a callable. More...
 
static filterImports ($content, $callback, $includeUrl=true)
 Filters all CSS imports through a callable. More...
 
static filterIEFilters ($content, $callback)
 Filters all IE filters (AlphaImageLoader filter) through a callable. More...
 
static filterCommentless ($content, $callback)
 Filters each non-comment part through a callable. More...
 
static extractImports ($content)
 Extracts all references from the supplied CSS content. More...
 

Detailed Description

Less Utils.

Author
Kris Wallsmith kris..nosp@m.wall.nosp@m.smith.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Definition at line 19 of file LessUtils.php.

Field Documentation

◆ REGEX_COMMENTS

const Assetic\Util\LessUtils::REGEX_COMMENTS = '/((?:\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\/)|\/\/[^\n]+)/'

Definition at line 23 of file LessUtils.php.

◆ REGEX_IMPORTS

const Assetic\Util\LessUtils::REGEX_IMPORTS = '/@import(?:-once)? (?:\([a-z]*\) )?(?:url\()?(\'|"|)(?P<url>[^\'"\)\n\r]*)\1\)?;?/'

Definition at line 21 of file LessUtils.php.

◆ REGEX_IMPORTS_NO_URLS

const Assetic\Util\LessUtils::REGEX_IMPORTS_NO_URLS = '/@import(?:-once)? (?:\([a-z]*\) )?(?!url\()(\'|"|)(?P<url>[^\'"\)\n\r]*)\1;?/'

Definition at line 22 of file LessUtils.php.


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