Class

CSSFileOptimizer

Package: io Author: Kevin MASSY <kevin.massy@phpboost.com> Located at io/optimization/CSSFileOptimizer.class.php
Methods summary
public
public
# add_file( mixed $path_file )

This class allows you to add file to optimize. Required path file

public
# add_script( mixed $script )

This class allows you to add script to optimize. Required script value

public
# optimize( mixed $intensity = CSSFileOptimizer::HIGH_OPTIMIZATION )

This class optimize your code. Parameter $intensity serves to configuration highlest

public
# export( )
public
# export_to_file( mixed $location )

Exports optimized content to a file.

public
# get_files( )

This class return Array files

public
# get_scripts( )

This class return Array scripts

Constants summary
string HIGH_OPTIMIZATION 'high'
#

Const Delete comments, tabulations, spaces and newline

string LOW_OPTIMIZATION 'low'
#

Const Delete comments, tabulations and spaces

Properties summary
protected array $files array()
#
protected array $scripts array()
#
protected string $content ''
#
protected string $regex_search_files_path ''
#
protected string $replace_value_files_path ''
#