MediaWiki  REL1_19
SwiftFileBackendFileList Class Reference

SwiftFileBackend helper class to page through object listings. More...

List of all members.

Public Member Functions

 __construct (SwiftFileBackend $backend, $fullCont, $dir)
 current ()
 key ()
 next ()
 rewind ()
 valid ()

Public Attributes

const PAGE_SIZE = 5000

Protected Attributes

 $backend
 $bufferAfter = null
 $bufferIter = array()
 $container
 $dir
 $pos = 0
 $suffixStart

Detailed Description

SwiftFileBackend helper class to page through object 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 811 of file SwiftFileBackend.php.


Constructor & Destructor Documentation

SwiftFileBackendFileList::__construct ( SwiftFileBackend backend,
fullCont,
dir 
)
Parameters:
$backendSwiftFileBackend
$fullContstring Resolved container name
$dirstring Resolved directory relative to container

Definition at line 830 of file SwiftFileBackend.php.

References $backend, and $dir.


Member Function Documentation

Definition at line 844 of file SwiftFileBackend.php.

Referenced by valid().

Here is the caller graph for this function:

Definition at line 848 of file SwiftFileBackend.php.

Definition at line 852 of file SwiftFileBackend.php.

References valid().

Here is the call graph for this function:

Definition at line 874 of file SwiftFileBackend.php.

References current().

Referenced by next().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

SwiftFileBackendFileList::$backend [protected]

Definition at line 818 of file SwiftFileBackend.php.

Referenced by __construct().

SwiftFileBackendFileList::$bufferAfter = null [protected]

Definition at line 814 of file SwiftFileBackend.php.

SwiftFileBackendFileList::$bufferIter = array() [protected]

Definition at line 813 of file SwiftFileBackend.php.

SwiftFileBackendFileList::$container [protected]

Definition at line 819 of file SwiftFileBackend.php.

SwiftFileBackendFileList::$dir [protected]

Definition at line 820 of file SwiftFileBackend.php.

Referenced by __construct().

SwiftFileBackendFileList::$pos = 0 [protected]

Definition at line 815 of file SwiftFileBackend.php.

SwiftFileBackendFileList::$suffixStart [protected]

Definition at line 821 of file SwiftFileBackend.php.

Definition at line 823 of file SwiftFileBackend.php.


The documentation for this class was generated from the following file: