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/*"]}
*
Definition at line 35 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 41 of file FileListStrategy.php.
isStatic | ( | $options | ) |
- See also
- ListStrategy::isStatic
Implements ListStrategy.
Definition at line 69 of file FileListStrategy.php.