MediaWiki  REL1_24
FileBackendStoreShardListIterator Class Reference

FileBackendStore helper function to handle listings that span container shards. More...

Inheritance diagram for FileBackendStoreShardListIterator:
Collaboration diagram for FileBackendStoreShardListIterator:

List of all members.

Public Member Functions

 __construct (FileBackendStore $backend, $container, $dir, array $suffixes, array $params)
 accept ()
 rewind ()

Protected Member Functions

 listFromShard ($container)
 Get the list for a given container shard.

Protected Attributes

FileBackendStore $backend
 *
string $container
 Full container name *.
string $directory
 Resolved relative path *.
array $multiShardPaths = array()
 *
array $params
 *

Detailed Description

FileBackendStore helper function to handle listings that span container shards.

Do not use this class from places outside of FileBackendStore.

Definition at line 1855 of file FileBackendStore.php.


Constructor & Destructor Documentation

FileBackendStoreShardListIterator::__construct ( FileBackendStore backend,
container,
dir,
array suffixes,
array params 
)
Parameters:
FileBackendStore$backend
string$containerFull storage container name
string$dirStorage directory relative to container
array$suffixesList of container shard suffixes
array$params

Definition at line 1873 of file FileBackendStore.php.


Member Function Documentation

FileBackendStoreShardListIterator::listFromShard ( container) [abstract, protected]

Get the list for a given container shard.

Parameters:
string$containerResolved container name
Returns:
Iterator

Reimplemented in FileBackendStoreShardFileIterator, and FileBackendStoreShardDirIterator.


Member Data Documentation

FileBackendStore FileBackendStoreShardListIterator::$backend [protected]

*

Definition at line 1856 of file FileBackendStore.php.

string FileBackendStoreShardListIterator::$container [protected]

Full container name *.

Definition at line 1860 of file FileBackendStore.php.

string FileBackendStoreShardListIterator::$directory [protected]

Resolved relative path *.

Definition at line 1862 of file FileBackendStore.php.

array FileBackendStoreShardListIterator::$multiShardPaths = array() [protected]

*

Definition at line 1864 of file FileBackendStore.php.

array FileBackendStoreShardListIterator::$params [protected]

*

Definition at line 1858 of file FileBackendStore.php.


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