CSSResourceLocator¶
-
class
OC\Template\CSSResourceLocator¶ Source: lib/private/Template/CSSResourceLocator.php#37 Parent: OC\Template\ResourceLocator
Properties¶
-
protected static property
OC\Template\CSSResourceLocator::$scssCacher¶ Source: lib/private/Template/CSSResourceLocator.php#40 Type: \OC\Template\SCSSCacher
Methods¶
-
public
OC\Template\CSSResourceLocator::__construct($logger, $theme, $core_map, $party_map, $scssCacher)¶ Source: Parameters: - $logger (
OCP\ILogger) - $theme (string)
- $core_map (array)
- $party_map (array)
- $scssCacher (
OC\Template\SCSSCacher)
- $logger (
-
public
OC\Template\CSSResourceLocator::doFind($style)¶ Source: Parameters: - $style (string)
-
public
OC\Template\CSSResourceLocator::doFindTheme($style)¶ Source: Parameters: - $style (string)
-
protected
OC\Template\CSSResourceLocator::cacheAndAppendScssIfExist($root, $file, $app=core)¶ - cache and append the scss $file if exist at $root
Source: Parameters: - $root (string) path to check
- $file (string) the filename
Returns: bool True if the resource was found and cached, false otherwise
-
public
OC\Template\CSSResourceLocator::append($root, $file, $webRoot=null, $throw=true, $scss=false)¶ Source: lib/private/Template/CSSResourceLocator.php#125