PHP Class Horde_Script_List, horde

Copyright 1999-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Michael Slusarz ([email protected])
Inheritance: implements Countable, implements Iterator
Mostra file Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_files array The list of script files to output.
$_output array The list of files that has been previously output.
$_tmp array The temporary file list used when iterating.

Public Methods

Method Description
add ( Horde_Script_File $file ) : mixed Adds the script file to the output.
clear ( ) Clears the cached list of files to output.
count ( ) * Countable methods.
current ( ) * Iterator methods.
key ( )
next ( )
rewind ( )
valid ( )

Method Details

add() public method

Adds the script file to the output.
public add ( Horde_Script_File $file ) : mixed
$file Horde_Script_File Script file object.
return mixed The Horde_Script_File object, or null if the script file has already been output.

clear() public method

Clears the cached list of files to output.
public clear ( )

count() public method

* Countable methods.
public count ( )

current() public method

* Iterator methods.
public current ( )

key() public method

public key ( )

next() public method

public next ( )

rewind() public method

public rewind ( )

valid() public method

public valid ( )

Property Details

$_files protected_oe property

The list of script files to output.
protected array $_files
return array

$_output protected_oe property

The list of files that has been previously output.
protected array $_output
return array

$_tmp protected_oe property

The temporary file list used when iterating.
protected array $_tmp
return array