ProCache CSS preprocessor

Base class for ProCache CSS preprocessors

Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the ProCacheCompiler class also inherits all the methods and properties of: ProCacheClass and Wire.

Show class?     Show args?       Only hookable?    

Common

NameReturnSummary 
ProCacheCompiler::addImportDir($path)
None 
ProCacheCompiler::compile(string $file)
bool string

@param string $file

ProCacheCompiler::getCompiler()
mixed

Get existing or new instance of compiler

 
ProCacheCompiler::getForce()
None 
ProCacheCompiler::getImportDirs()
None 
ProCacheCompiler::getImportPaths()
None 
ProCacheCompiler::getImportUrls()
None 
ProCacheCompiler::getTargetFile()
None 
ProCacheCompiler::needsCompile(string $file)
bool

Does given file need to be recompiled?

 
ProCacheCompiler::setCompileOptions(array $options)
None

Set compile options

 
ProCacheCompiler::setForce($force)
None 
ProCacheCompiler::setImportDirs(array $dirs)
None 
ProCacheCompiler::setTargetFile($file)
None 

Additional methods and properties

In addition to the methods and properties above, ProCacheCompiler also inherits the methods and properties of these classes:

API reference based on ProcessWire core version 3.0.252