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:

lib/private/Template/CSSResourceLocator.php#49

Parameters:
public OC\Template\CSSResourceLocator::doFind($style)
Source:

lib/private/Template/CSSResourceLocator.php#58

Parameters:
  • $style (string)
public OC\Template\CSSResourceLocator::doFindTheme($style)
Source:

lib/private/Template/CSSResourceLocator.php#94

Parameters:
  • $style (string)
protected OC\Template\CSSResourceLocator::cacheAndAppendScssIfExist($root, $file, $app=core)
cache and append the scss $file if exist at $root
Source:

lib/private/Template/CSSResourceLocator.php#108

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