MediaWiki
REL1_39
FSFileBackendDirList.php
Go to the documentation of this file.
1
<?php
22
class
FSFileBackendDirList
extends
FSFileBackendList
{
23
protected
function
filterViaNext
() {
24
while
( $this->iter->valid() ) {
25
if
( $this->iter->current()->isDot() || !$this->iter->current()->isDir() ) {
26
$this->iter->next();
// skip non-directories and dot files
27
}
else
{
28
break
;
29
}
30
}
31
}
32
}
FSFileBackendDirList
Definition
FSFileBackendDirList.php:22
FSFileBackendDirList\filterViaNext
filterViaNext()
Filter out items by advancing to the next ones.
Definition
FSFileBackendDirList.php:23
FSFileBackendList
Wrapper around RecursiveDirectoryIterator/DirectoryIterator that catches exception or does any custom...
Definition
FSFileBackendList.php:29
includes
libs
filebackend
fileiteration
FSFileBackendDirList.php
Generated on Sat Nov 2 2024 16:56:52 for MediaWiki by
1.10.0