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 36 of file FileListStrategy.php.
Inheritance diagram for FileListStrategy:
Public Member Functions | |
getList ($options, $valuePattern=null, $key=null, $language=null) | |
isStatic ($options) | |
Member Function Documentation
◆ getList()
getList | ( | $options, | |
$valuePattern = null , |
|||
$key = null , |
|||
$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()
isStatic | ( | $options | ) |
- See also
- ListStrategy::isStatic
Implements ListStrategy.
Definition at line 72 of file FileListStrategy.php.