Documentation

Horde_Script_Cache_Null extends Horde_Script_Cache
in package

Null backend for the javascript caching library (directly outputs original scripts).

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2014-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

since
2.12.0

Table of Contents

Properties

$_compress  : mixed
$_params  : array<string|int, mixed>
Configuration parameters.

Methods

__construct()  : mixed
Constructor.
gc()  : mixed
Perform garbage collection.
process()  : object
Process the scripts contained in Horde_Script_List.
_process()  : array<string|int, mixed>
Process a list of scripts.

Properties

$_compress

protected mixed $_compress

$_params

Configuration parameters.

protected array<string|int, mixed> $_params

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $params = array() ]) : mixed
Parameters
$params : array<string|int, mixed> = array()

Configuration parameters.

gc()

Perform garbage collection.

public gc() : mixed

process()

Process the scripts contained in Horde_Script_List.

public process(Horde_Script_List $hsl[, bool $full = false ]) : object
Parameters
$hsl : Horde_Script_List

Script list.

$full : bool = false

Return full URLs? @since Horde_Core 2.28.0

Return values
object

Object with these properties:

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

_process()

Process a list of scripts.

protected _process(mixed $scripts[, mixed $full = false ]) : array<string|int, mixed>
Parameters
$scripts : mixed

Script list.

$full : mixed = false

Return full URLs?

Return values
array<string|int, mixed>

List of JS files to load.


        
On this page

Search results