PHP Class Horde_Script_Cache, horde

Since: 2.12.0
Author: Michael Slusarz ([email protected])
Afficher le fichier Open project: horde/horde

Protected Properties

Свойство Type Description
$_params array Configuration parameters.

Méthodes publiques

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

Méthodes protégées

Méthode Description
_process ( array $scripts ) : array Process a list of scripts.

Method Details

__construct() public méthode

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

_process() abstract protected méthode

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

gc() public méthode

Perform garbage collection.
public gc ( )

process() public méthode

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

Property Details

$_params protected_oe property

Configuration parameters.
protected array $_params
Résultat array