Exponent v2.7.2

expCSS
in package

This is the class expCSS

Tags
subpackage

Subsystems

Table of Contents

auto_compile_less()  : bool
Automatically compile .less files into a .css file cached in the /tmp/css folder
auto_compile_scss()  : bool
Automatically compile .scss files into a .css file cached in the /tmp/css folder
generate_filename()  : mixed
Generate an output .css filename from the input filename we assume the input filename has a .less, .scss, or no extension
parseCSSFiles()  : mixed
pushToHead()  : mixed
themeCSS()  : mixed
updateCoreCss()  : mixed
Rebuild the entire set of 'core' .css files by pushing them all to the head (this one time)

Methods

auto_compile_less()

Automatically compile .less files into a .css file cached in the /tmp/css folder

public static auto_compile_less(string $less_pname, string $css_fname[, array<string|int, mixed> $vars = array() ]) : bool
Parameters
$less_pname : string

full pathname of the .less file

$css_fname : string

filename of the output css file

$vars : array<string|int, mixed> = array()

array of variables to pass to parse()

Tags
static
throws
Exception
Return values
bool

auto_compile_scss()

Automatically compile .scss files into a .css file cached in the /tmp/css folder

public static auto_compile_scss(string $scss_pname, string $css_fname[, array<string|int, mixed> $vars = array() ]) : bool
Parameters
$scss_pname : string

full pathname of the .scss file

$css_fname : string

filename of the output css file

$vars : array<string|int, mixed> = array()

array of variables to pass to parse()

Tags
static
throws
Exception
Return values
bool

generate_filename()

Generate an output .css filename from the input filename we assume the input filename has a .less, .scss, or no extension

public static generate_filename(mixed $filename) : mixed
Parameters
$filename : mixed
Return values
mixed

parseCSSFiles()

public static parseCSSFiles() : mixed
Return values
mixed

pushToHead()

public static pushToHead(mixed $params) : mixed
Parameters
$params : mixed
Return values
mixed

themeCSS()

public static themeCSS() : mixed
Return values
mixed

updateCoreCss()

Rebuild the entire set of 'core' .css files by pushing them all to the head (this one time)

public static updateCoreCss() : mixed
Return values
mixed

Search results