FileListStrategy Class Reference

Detailed Description

FileListStrategy implements a list of key value pairs that is retrieved from an configuration section.

Configuration examples:

// .ini files
{"type":"file","paths":["path/to/files"],"pattern":"\\\\.ini$"}
// all files recursive
{"type":"file","paths":["path/to/files/*"]}
* // multiple paths
* {"type":"file","paths":["path/to/files","path/to/files2/*"]}
*
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 36 of file FileListStrategy.php.

+ Inheritance diagram for FileListStrategy:

Public Member Functions

 getList ($options, $language=null)
 
 isStatic ($options)
 

Member Function Documentation

getList (   $options,
  $language = null 
)
See also
ListStrategy::getList $options is an associative array with keys 'paths' and 'pattern' (optional)

Implements ListStrategy.

Definition at line 42 of file FileListStrategy.php.

isStatic (   $options)
See also
ListStrategy::isStatic

Implements ListStrategy.

Definition at line 70 of file FileListStrategy.php.