Wrapper around RecursiveDirectoryIterator/DirectoryIterator that catches exception or does any custom behavior that we may want.
More...
Inherits Iterator.
Inherited by FSFileBackendDirList, and FSFileBackendFileList.
|
| filterViaNext () |
| Filter out items by advancing to the next ones.
|
|
| getRelPath ( $dir) |
| Return only the relative path and normalize slashes to FileBackend-style.
|
|
| initIterator ( $dir) |
| Return an appropriate iterator object to wrap.
|
|
Wrapper around RecursiveDirectoryIterator/DirectoryIterator that catches exception or does any custom behavior that we may want.
Do not use this class from places outside FSFileBackend.
Definition at line 29 of file FSFileBackendList.php.
◆ __construct()
FSFileBackendList::__construct |
( |
| $dir, |
|
|
array | $params ) |
◆ current()
FSFileBackendList::current |
( |
| ) |
|
◆ filterViaNext()
FSFileBackendList::filterViaNext |
( |
| ) |
|
|
protected |
◆ getLastError()
FSFileBackendList::getLastError |
( |
| ) |
|
◆ getRelPath()
FSFileBackendList::getRelPath |
( |
| $dir | ) |
|
|
protected |
Return only the relative path and normalize slashes to FileBackend-style.
Uses the "real path" since the suffix is based upon that.
- Parameters
-
- Returns
- string
Definition at line 165 of file FSFileBackendList.php.
References $path.
◆ initIterator()
FSFileBackendList::initIterator |
( |
| $dir | ) |
|
|
protected |
◆ key()
FSFileBackendList::key |
( |
| ) |
|
◆ next()
FSFileBackendList::next |
( |
| ) |
|
◆ rewind()
FSFileBackendList::rewind |
( |
| ) |
|
◆ valid()
FSFileBackendList::valid |
( |
| ) |
|
◆ $iter
Iterator null FSFileBackendList::$iter |
|
protected |
◆ $lastError
string FSFileBackendList::$lastError |
|
protected |
◆ $params
array FSFileBackendList::$params = [] |
|
protected |
◆ $pos
int FSFileBackendList::$pos = 0 |
|
protected |
◆ $suffixStart
int FSFileBackendList::$suffixStart |
|
protected |
The documentation for this class was generated from the following file: