MediaWiki master
|
Iterator for listing directories. More...
Inherits SwiftFileBackendList.
Public Member Functions | |
current () | |
Public Member Functions inherited from SwiftFileBackendList | |
__construct (SwiftFileBackend $backend, $fullCont, $dir, array $params) | |
key () | |
next () | |
rewind () | |
valid () | |
Protected Member Functions | |
pageFromList ( $container, $dir, &$after, $limit, array $params) | |
Get the next page of entries. | |
Additional Inherited Members | |
Protected Attributes inherited from SwiftFileBackendList | |
SwiftFileBackend | $backend |
string | $container |
Container name. | |
string null | $continueAfter = null |
Continuation marker; the next page starts after this path. | |
string | $dir |
Storage directory. | |
string[] array[] | $iterableBuffer = [] |
Current page of entries; path list or (path,stat map) list. | |
array | $params = [] |
int | $pos = 0 |
int | $suffixStart |
Iterator for listing directories.
Definition at line 28 of file SwiftFileBackendDirList.php.
SwiftFileBackendDirList::current | ( | ) |
Definition at line 34 of file SwiftFileBackendDirList.php.
References current().
Referenced by current().
|
protected |
Get the next page of entries.
string | $container | Resolved container name |
string | $dir | Resolved path relative to container |
string | &$after | |
int | $limit | |
array | $params |
Reimplemented from SwiftFileBackendList.
Definition at line 38 of file SwiftFileBackendDirList.php.
References SwiftFileBackendList\$container, SwiftFileBackendList\$dir, and SwiftFileBackendList\$params.