MediaWiki
REL1_22
|
SwiftFileBackend helper class to page through listings. More...
Public Member Functions | |
__construct (SwiftFileBackend $backend, $fullCont, $dir, array $params) | |
key () | |
next () | |
rewind () | |
valid () | |
Public Attributes | |
const | PAGE_SIZE = 9000 |
Protected Member Functions | |
pageFromList ($container, $dir, &$after, $limit, array $params) | |
Get the given list portion (page) | |
Protected Attributes | |
SwiftFileBackend | $backend |
* | |
$bufferAfter = null | |
Array | $bufferIter = array() |
* | |
$container | |
$dir | |
Array | $params = array() |
* | |
$pos = 0 | |
$suffixStart |
SwiftFileBackend helper class to page through listings.
Swift also has a listing limit of 10,000 objects for sanity. Do not use this class from places outside SwiftFileBackend.
Definition at line 1551 of file SwiftFileBackend.php.
SwiftFileBackendList::__construct | ( | SwiftFileBackend $ | backend, |
$ | fullCont, | ||
$ | dir, | ||
array $ | params | ||
) |
SwiftFileBackend | $backend | |
string | $fullCont | Resolved container name |
string | $dir | Resolved directory relative to container |
array | $params |
Definition at line 1570 of file SwiftFileBackend.php.
SwiftFileBackendList::pageFromList | ( | $ | container, |
$ | dir, | ||
&$ | after, | ||
$ | limit, | ||
array $ | params | ||
) | [abstract, protected] |
Get the given list portion (page)
string | $container | Resolved container name |
string | $dir | Resolved path relative to container |
string | $after,|null | |
integer | $limit | |
array | $params |
Reimplemented in SwiftFileBackendFileList, and SwiftFileBackendDirList.
SwiftFileBackend SwiftFileBackendList::$backend [protected] |
SwiftFileBackendList::$bufferAfter = null [protected] |
Definition at line 1553 of file SwiftFileBackend.php.
Array SwiftFileBackendList::$bufferIter = array() [protected] |
*
Definition at line 1552 of file SwiftFileBackend.php.
SwiftFileBackendList::$container [protected] |
Definition at line 1558 of file SwiftFileBackend.php.
SwiftFileBackendList::$dir [protected] |
Definition at line 1559 of file SwiftFileBackend.php.
Referenced by __construct().
*
Definition at line 1555 of file SwiftFileBackend.php.
SwiftFileBackendList::$pos = 0 [protected] |
Definition at line 1554 of file SwiftFileBackend.php.
SwiftFileBackendList::$suffixStart [protected] |
Definition at line 1560 of file SwiftFileBackend.php.
const SwiftFileBackendList::PAGE_SIZE = 9000 |
Definition at line 1562 of file SwiftFileBackend.php.