Documentation

Horde_Script_List
in package
implements Countable, Iterator

This class collects the javascript files needed for inclusion in the browser output.

Copyright 1999-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

license

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

Table of Contents

Interfaces

Countable
Iterator

Properties

$_files  : array<string|int, mixed>
The list of script files to output.
$_output  : array<string|int, mixed>
The list of files that has been previously output.
$_tmp  : array<string|int, mixed>
The temporary file list used when iterating.

Methods

add()  : mixed
Adds the script file to the output.
clear()  : mixed
Clears the cached list of files to output.
count()  : mixed
current()  : mixed
key()  : mixed
next()  : mixed
rewind()  : mixed
valid()  : mixed

Properties

$_files

The list of script files to output.

protected array<string|int, mixed> $_files = array()

$_output

The list of files that has been previously output.

protected array<string|int, mixed> $_output = array()

$_tmp

The temporary file list used when iterating.

protected array<string|int, mixed> $_tmp

Methods

add()

Adds the script file to the output.

public add(Horde_Script_File $file) : mixed
Parameters
$file : Horde_Script_File

Script file object.

Return values
mixed

The Horde_Script_File object, or null if the script file has already been output.

clear()

Clears the cached list of files to output.

public clear() : mixed

count()

public count() : mixed

current()

public current() : mixed

key()

public key() : mixed

next()

public next() : mixed

rewind()

public rewind() : mixed

valid()

public valid() : mixed

        
On this page

Search results