TYPO3
7.6
|
Public Member Functions | |
__construct (\Iterator $iterator, array $matchPatterns, array $noMatchPatterns) | |
Public Member Functions inherited from FilterIterator | |
rewind () | |
Protected Member Functions | |
isRegex ($str) | |
toRegex ($str) | |
Protected Attributes | |
$matchRegexps = array() | |
$noMatchRegexps = array() | |
MultiplePcreFilterIterator filters files using patterns (regexps, globs or strings).
Definition at line 21 of file MultiplePcreFilterIterator.php.
__construct | ( | \Iterator | $iterator, |
array | $matchPatterns, | ||
array | $noMatchPatterns | ||
) |
Constructor.
\Iterator | $iterator | The Iterator to filter |
array | $matchPatterns | An array of patterns that need to match |
array | $noMatchPatterns | An array of patterns that need to not match |
Definition at line 33 of file MultiplePcreFilterIterator.php.
References MultiplePcreFilterIterator\toRegex().
|
protected |
Checks whether the string is a regex.
string | $str |
Definition at line 53 of file MultiplePcreFilterIterator.php.
References Expression\create().
Referenced by PathFilterIterator\toRegex(), and FilecontentFilterIterator\toRegex().
|
abstractprotected |
Converts string into regexp.
string | $str | Pattern |
Referenced by MultiplePcreFilterIterator\__construct().
|
protected |
Definition at line 23 of file MultiplePcreFilterIterator.php.
|
protected |
Definition at line 24 of file MultiplePcreFilterIterator.php.