Class

CSSFileOptimizer

Package: IO\Optimization Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Kevin MASSY reidlos@phpboost.com Version: PHPBoost 5.2 - last update: 2018 06 14 Since: PHPBoost 3.0 - 2011 03 29 Contributor: Julien BRISWALTER j1.seth@phpboost.com Contributor: mipel mipel@phpboost.com Located at: io/optimization/CSSFileOptimizer.class.php
Methods summary
public
public
# add_file( $path_file )

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

public
# add_script( $script )

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

public
# optimize( $intensity = self::HIGH_OPTIMIZATION )

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

public
# export( )
public
# export_to_file( $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

Const Delete comments, tabulations, spaces and newline

# 'high'
string LOW_OPTIMIZATION

Const Delete comments, tabulations and spaces

# 'low'
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
# ''