Class Socialveo\Core\library\CssminFilter

InheritanceSocialveo\Core\library\CssminFilter » Phalcon\Assets\Filters\Cssmin

Class CssminFilter

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Constructor Socialveo\Core\library\CssminFilter
filter() Filters the content using CSSMIN Changes the relative path of resources Socialveo\Core\library\CssminFilter

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
compRelativeResourcePath() Computes the relative resource path Socialveo\Core\library\CssminFilter
compRelativeSourcePath() Computes the relative source path Socialveo\Core\library\CssminFilter

Property Details

$_collection protected property
$_counter protected property
protected integer $_counter 0

Method Details

__construct() public method

Constructor

public void __construct ( $collection )
$collection Phalcon\Assets\Collection
compRelativeResourcePath() protected static method

Computes the relative resource path

protected static array|string compRelativeResourcePath ( $relPath, $resPath )
$relPath
$resPath
compRelativeSourcePath() protected static method

Computes the relative source path

protected static string compRelativeSourcePath ( $src, $dst )
$src string
$dst string
filter() public method

Filters the content using CSSMIN Changes the relative path of resources

public string filter ( $content )
$content string