\Horde_Script_Cache_File

Filesystem backend for the javascript caching library.

Summary

Methods
Properties
Constants
__construct()
process()
gc()
No public properties found
No constants found
_process()
$_params
$_jsmin
N/A
No private methods found
No private properties found
N/A

Properties

$_params

$_params : array

Configuration parameters.

Type

array

Methods

__construct()

__construct(array  $params = array()) 

Constructor.

Parameters

array $params

Configuration parameters.

process()

process(\Horde_Script_List  $hsl, boolean  $full = false) : object

Process the scripts contained in Horde_Script_List.

Parameters

\Horde_Script_List $hsl

Script list.

boolean $full

Return full URLs? @since Horde_Core 2.28.0

Returns

object —

Object with these properties:

  • all: (array)
  • jsvars: (array)
  • script: (array)

gc()

gc() 

Perform garbage collection.

_process()

_process(array  $scripts, boolean  $full = false) : array

Process a list of scripts.

Parameters

array $scripts

Script list.

boolean $full

Return full URLs?

Returns

array —

List of JS files to load.