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
Attributes
#[ReturnTypeWillChange]

current()

public current() : mixed
Attributes
#[ReturnTypeWillChange]

key()

public key() : mixed
Attributes
#[ReturnTypeWillChange]

next()

public next() : mixed
Attributes
#[ReturnTypeWillChange]

rewind()

public rewind() : mixed
Attributes
#[ReturnTypeWillChange]

valid()

public valid() : mixed
Attributes
#[ReturnTypeWillChange]

        
On this page

Search results