class Stylesheet (View source)

Properties

protected $file
protected $sourceUriRoot
protected $outputDirectory
protected $relativeOutputDirectory
protected $stylesheet
protected $valueList

Methods

__construct($stylesheet, $file, $sourceUriRoot, $outputDirectory, $relativeOutputDirectory)

No description

setValueList(ValueList $valueList)

No description

string
getCss()

Compiles the stylesheet using LESS. If a ValueList is provided they are injected into the stylesheet.

output()

No description

clearOutputFile()

No description

outputFileExists()

No description

getOutputPath()

No description

getOutputRelativePath()

No description

Details

__construct($stylesheet, $file, $sourceUriRoot, $outputDirectory, $relativeOutputDirectory)

Parameters

$stylesheet
$file
$sourceUriRoot
$outputDirectory
$relativeOutputDirectory

setValueList(ValueList $valueList)

Parameters

ValueList $valueList

string getCss()

Compiles the stylesheet using LESS. If a ValueList is provided they are injected into the stylesheet.

Return Value

string CSS

output()

clearOutputFile()

outputFileExists()

getOutputPath()

getOutputRelativePath()