Methods
__construct()
__construct(\Filicious\Internals\Pathname $pathname, $filters)
Parameters
$pathname
$filters
(PHP 5 >= 5.0.0)<br/>
Return the current element
current() : \Filicious\File
(PHP 5 >= 5.0.0)<br/>
Return the key of the current element
key() : int
Returns
int
scalar on success, or null on failure.
(PHP 5 >= 5.0.0)<br/>
Move forward to next element
next() : void
(PHP 5 >= 5.0.0)<br/>
Rewind the Iterator to the first element
rewind() : void
(PHP 5 >= 5.1.0)<br/>
Seeks to a position
seek(int $position) : void
Parameters
$position
int
The position to seek to.
toArray()
toArray() : array
(PHP 5 >= 5.0.0)<br/>
Checks if current position is valid
valid() : boolean
Returns
boolean
The return value will be casted to boolean and then evaluated.
Returns true on success or false on failure.
Apply bitmask filters on current file.
applyBitmaskFilters(\Filicious\File $file) : bool
Apply callable filters on current file.
applyCallableFilters(\Filicious\File $file) : bool
Apply glob filters on current file.
applyGlobFilters(\Filicious\File $file) : bool
Apply glob filters on current file.
applyGlobSearchPattern(\Filicious\File $file) : bool
evaluateFilters()
evaluateFilters($filters)
prepareFilters()
prepareFilters(\Filicious\Internals\PathnameIterator $iterator)
Properties
$callables
$callables : array
$filters
$filters : array
$globSearchPatterns
$globSearchPatterns : array