PHP Class Horde_Script_Cache, horde

Since: 2.12.0
Author: Michael Slusarz ([email protected])
Exibir arquivo Open project: horde/horde

Protected Properties

Property Type Description
$_params array Configuration parameters.

Public Methods

Method Description
__construct ( array $params = [] ) Constructor.
gc ( ) Perform garbage collection.
process ( Horde_Script_List $hsl ) : object Process the scripts contained in Horde_Script_List.

Protected Methods

Method Description
_process ( array $scripts ) : array Process a list of scripts.

Method Details

__construct() public method

Constructor.
public __construct ( array $params = [] )
$params array Configuration parameters.

_process() abstract protected method

Process a list of scripts.
abstract protected _process ( array $scripts ) : array
$scripts array Script list.
return array List of JS files to load.

gc() public method

Perform garbage collection.
public gc ( )

process() public method

Process the scripts contained in Horde_Script_List.
public process ( Horde_Script_List $hsl ) : object
$hsl Horde_Script_List Script list.
return object Object with these properties:
  - all: (array)
  - jsvars: (array)
  - script: (array)

Property Details

$_params protected_oe property

Configuration parameters.
protected array $_params
return array