MediaWiki
REL1_22
|
Wrapper around RecursiveDirectoryIterator/DirectoryIterator that catches exception or does any custom behavoir that we may want. More...
Public Member Functions | |
__construct ($dir, array $params) | |
current () | |
key () | |
next () | |
rewind () | |
valid () | |
Protected Member Functions | |
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. | |
Protected Attributes | |
Iterator | $iter |
* | |
Array | $params = array() |
* | |
$pos = 0 | |
$suffixStart |
Wrapper around RecursiveDirectoryIterator/DirectoryIterator that catches exception or does any custom behavoir that we may want.
Do not use this class from places outside FSFileBackend.
Definition at line 782 of file FSFileBackend.php.
FSFileBackendList::__construct | ( | $ | dir, |
array $ | params | ||
) |
string | $dir | file system directory |
array | $params |
Definition at line 792 of file FSFileBackend.php.
Definition at line 841 of file FSFileBackend.php.
FSFileBackendList::filterViaNext | ( | ) | [protected] |
Filter out items by advancing to the next ones.
Reimplemented in FSFileBackendFileList, and FSFileBackendDirList.
Definition at line 884 of file FSFileBackend.php.
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.
string | $path |
Definition at line 893 of file FSFileBackend.php.
FSFileBackendList::initIterator | ( | $ | dir | ) | [protected] |
Return an appropriate iterator object to wrap.
string | $dir | file system directory |
Definition at line 813 of file FSFileBackend.php.
Iterator FSFileBackendList::$iter [protected] |
*
Definition at line 783 of file FSFileBackend.php.
*
Definition at line 786 of file FSFileBackend.php.
FSFileBackendList::$pos = 0 [protected] |
Definition at line 785 of file FSFileBackend.php.
FSFileBackendList::$suffixStart [protected] |
Definition at line 784 of file FSFileBackend.php.