|
MediaWiki
REL1_20
|
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 ($path) | |
| 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 848 of file FSFileBackend.php.
| FSFileBackendList::__construct | ( | $ | dir, |
| array $ | params | ||
| ) |
| $dir | string file system directory |
| $params | array |
Definition at line 858 of file FSFileBackend.php.
Definition at line 904 of file FSFileBackend.php.
| FSFileBackendList::filterViaNext | ( | ) | [protected] |
Filter out items by advancing to the next ones.
Reimplemented in FSFileBackendFileList, and FSFileBackendDirList.
Definition at line 947 of file FSFileBackend.php.
| FSFileBackendList::getRelPath | ( | $ | path | ) | [protected] |
Return only the relative path and normalize slashes to FileBackend-style.
Uses the "real path" since the suffix is based upon that.
| $path | string |
Definition at line 956 of file FSFileBackend.php.
| FSFileBackendList::initIterator | ( | $ | dir | ) | [protected] |
Return an appropriate iterator object to wrap.
| $dir | string file system directory |
Definition at line 876 of file FSFileBackend.php.
Iterator FSFileBackendList::$iter [protected] |
*
Definition at line 849 of file FSFileBackend.php.
Array FSFileBackendList::$params = array() [protected] |
*
Definition at line 852 of file FSFileBackend.php.
FSFileBackendList::$pos = 0 [protected] |
Definition at line 851 of file FSFileBackend.php.
FSFileBackendList::$suffixStart [protected] |
Definition at line 850 of file FSFileBackend.php.