MediaWiki
REL1_20
|
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 1398 of file SwiftFileBackend.php.
SwiftFileBackendList::__construct | ( | SwiftFileBackend $ | backend, |
$ | fullCont, | ||
$ | dir, | ||
array $ | params | ||
) |
$backend | SwiftFileBackend |
$fullCont | string Resolved container name |
$dir | string Resolved directory relative to container |
$params | Array |
Definition at line 1417 of file SwiftFileBackend.php.
SwiftFileBackendList::pageFromList | ( | $ | container, |
$ | dir, | ||
&$ | after, | ||
$ | limit, | ||
array $ | params | ||
) | [abstract, protected] |
Get the given list portion (page)
$container | string Resolved container name |
$dir | string Resolved path relative to container |
$after | string|null |
$limit | integer |
$params | Array |
Reimplemented in SwiftFileBackendFileList, and SwiftFileBackendDirList.
SwiftFileBackend SwiftFileBackendList::$backend [protected] |
SwiftFileBackendList::$bufferAfter = null [protected] |
Definition at line 1400 of file SwiftFileBackend.php.
Array SwiftFileBackendList::$bufferIter = array() [protected] |
*
Definition at line 1399 of file SwiftFileBackend.php.
SwiftFileBackendList::$container [protected] |
Definition at line 1405 of file SwiftFileBackend.php.
SwiftFileBackendList::$dir [protected] |
Definition at line 1406 of file SwiftFileBackend.php.
Referenced by __construct().
Array SwiftFileBackendList::$params = array() [protected] |
*
Definition at line 1402 of file SwiftFileBackend.php.
SwiftFileBackendList::$pos = 0 [protected] |
Definition at line 1401 of file SwiftFileBackend.php.
SwiftFileBackendList::$suffixStart [protected] |
Definition at line 1407 of file SwiftFileBackend.php.
const SwiftFileBackendList::PAGE_SIZE = 9000 |
Definition at line 1409 of file SwiftFileBackend.php.