cache_css

CSS Cache Class provided by System for caching CSS in the Database.

package

SYSTEM\CACHE

Methods

Get Data from Cache

get(\SYSTEM\CACHE\sha1 $ident, boolean $header = false) : mixed
static

Arguments

$ident

\SYSTEM\CACHE\sha1

String Identifier for the cached Content

$header

boolean

Send Header

Response

mixed

Returns the requested Cache Content or NULL

Calculate Ident for a list of Files

ident(array $files) : \SYSTEM\CACHE\sha1
static

Arguments

$files

array

List of Files to be cached into one Cacheentry

Response

\SYSTEM\CACHE\sha1

Returns the requested Ident

Minify CSS and calculate URL from it

minify(array $files) : \SYSTEM\CACHE\url
static

Arguments

$files

array

List of Files to be cached into one Cacheentry

Response

\SYSTEM\CACHE\url

Returns the requested Cache-URL

Put Data into the Cache

put(\SYSTEM\CACHE\sha1 $ident, integer $data) : mixed
static

Arguments

$ident

\SYSTEM\CACHE\sha1

String Identifier for the cached Content

$data

integer

Data to cache

Response

mixed

Returns the cached Cache Content or NULL

Constants

int Cache ID for CSS cache

CACHE_CSS