\Horde_Script_List

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.

Summary

Methods
Properties
Constants
add()
clear()
count()
current()
key()
next()
rewind()
valid()
No public properties found
No constants found
No protected methods found
$_files
$_output
$_tmp
N/A
No private methods found
No private properties found
N/A

Properties

$_files

$_files : array

The list of script files to output.

Type

array

$_output

$_output : array

The list of files that has been previously output.

Type

array

$_tmp

$_tmp : array

The temporary file list used when iterating.

Type

array

Methods

add()

add(\Horde_Script_File  $file) : mixed

Adds the script file to the output.

Parameters

\Horde_Script_File $file

Script file object.

Returns

mixed —

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

clear()

clear() 

Clears the cached list of files to output.

count()

count() 

current()

current() 

key()

key() 

next()

next() 

rewind()

rewind() 

valid()

valid()