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


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. More... | |
Protected Attributes | |
| FileBackendStore | $backend |
| string | $container |
| Full container name *. More... | |
| string | $directory |
| Resolved relative path *. More... | |
| array | $multiShardPaths = array() |
| array | $params |
FileBackendStore helper function to handle listings that span container shards.
Do not use this class from places outside of FileBackendStore.
Definition at line 1832 of file FileBackendStore.php.
| FileBackendStoreShardListIterator::__construct | ( | FileBackendStore | $backend, |
| $container, | |||
| $dir, | |||
| array | $suffixes, | ||
| array | $params | ||
| ) |
| FileBackendStore | $backend | |
| string | $container | Full storage container name |
| string | $dir | Storage directory relative to container |
| array | $suffixes | List of container shard suffixes |
| array | $params |
Definition at line 1850 of file FileBackendStore.php.
References $backend, $container, $dir, $params, as, directory, and listFromShard().
| FileBackendStoreShardListIterator::accept | ( | ) |
Definition at line 1866 of file FileBackendStore.php.
References $path.
|
abstractprotected |
Get the list for a given container shard.
| string | $container | Resolved container name |
Reimplemented in FileBackendStoreShardFileIterator, and FileBackendStoreShardDirIterator.
Referenced by __construct().
| FileBackendStoreShardListIterator::rewind | ( | ) |
Definition at line 1881 of file FileBackendStore.php.
References array().
|
protected |
|
protected |
Full container name *.
Definition at line 1837 of file FileBackendStore.php.
Referenced by __construct(), FileBackendStoreShardDirIterator\listFromShard(), and FileBackendStoreShardFileIterator\listFromShard().
|
protected |
Resolved relative path *.
Definition at line 1839 of file FileBackendStore.php.
Definition at line 1841 of file FileBackendStore.php.
|
protected |