Documentation

CssImportFilter extends BaseCssFilter
in package
implements DependencyExtractorInterface

Inlines imported stylesheets.

Tags
author

Kris Wallsmith kris.wallsmith@gmail.com

Interfaces, Classes and Traits

DependencyExtractorInterface
A filter that knows how to extract dependencies.

Table of Contents

$importFilter  : mixed
__construct()  : mixed
Constructor.
filterDump()  : mixed
filterLoad()  : mixed
getChildren()  : array<string|int, AssetInterface>
Returns child assets.
filterIEFilters()  : mixed
filterImports()  : mixed
filterReferences()  : mixed
filterUrls()  : mixed

Properties

Methods

getChildren()

Returns child assets.

public getChildren(AssetFactory $factory, mixed $content[, mixed $loadPath = null ]) : array<string|int, AssetInterface>
Parameters
$factory : AssetFactory

The asset factory

$content : mixed

The asset content

$loadPath : mixed = null

An optional load path

Return values
array<string|int, AssetInterface>

Child assets

filterIEFilters()

protected filterIEFilters(mixed $content, mixed $callback[, mixed $limit = -1 ], mixed &$count) : mixed
Parameters
$content : mixed
$callback : mixed
$limit : mixed = -1
$count : mixed
Tags
see
CssUtils::filterIEFilters()
Return values
mixed

filterImports()

protected filterImports(mixed $content, mixed $callback[, mixed $limit = -1 ], mixed &$count[, mixed $includeUrl = true ]) : mixed
Parameters
$content : mixed
$callback : mixed
$limit : mixed = -1
$count : mixed
$includeUrl : mixed = true
Tags
see
CssUtils::filterImports()
Return values
mixed

filterReferences()

protected filterReferences(mixed $content, mixed $callback[, mixed $limit = -1 ], mixed &$count) : mixed
Parameters
$content : mixed
$callback : mixed
$limit : mixed = -1
$count : mixed
Tags
see
CssUtils::filterReferences()
Return values
mixed

filterUrls()

protected filterUrls(mixed $content, mixed $callback[, mixed $limit = -1 ], mixed &$count) : mixed
Parameters
$content : mixed
$callback : mixed
$limit : mixed = -1
$count : mixed
Tags
see
CssUtils::filterUrls()
Return values
mixed

Search results