MediaWiki
REL1_37
FSFileBackendFileList.php
Go to the documentation of this file.
1
<?php
22
class
FSFileBackendFileList
extends
FSFileBackendList
{
23
protected
function
filterViaNext
() {
24
while
( $this->iter->valid() ) {
25
if
( !$this->iter->current()->isFile() ) {
26
$this->iter->next();
// skip non-files and dot files
27
}
else
{
28
break
;
29
}
30
}
31
}
32
}
FSFileBackendFileList
Definition
FSFileBackendFileList.php:22
FSFileBackendFileList\filterViaNext
filterViaNext()
Filter out items by advancing to the next ones.
Definition
FSFileBackendFileList.php:23
FSFileBackendList
Wrapper around RecursiveDirectoryIterator/DirectoryIterator that catches exception or does any custom...
Definition
FSFileBackendList.php:29
includes
libs
filebackend
fileiteration
FSFileBackendFileList.php
Generated on Fri Apr 5 2024 23:40:26 for MediaWiki by
1.9.8