Menu

## FolderFilterIterator extends FilterIterator
in package

inc.ClassIterator.php : 209

The FolderFilterIterator checks if the given user has access on the current folder.

FilterIterator uses an inner iterator passed to the constructor to iterate over the sub folders of a folder.

$iter = new FolderIterator($folder); $iter2 = new FolderFilterIterator($iter, $user); foreach($iter2 as $ff) { echo $ff->getName()."
"; }

### Table of Contents

#### Properties

$folderFilter : object

#### Methods

__construct() : mixed
accept() : bool

### Properties

#### $folderFilter

inc.ClassIterator.php : 213
`protected object $folderFilter`

filter

### Methods

#### __construct()

inc.ClassIterator.php : 215
`public __construct(Iterator $iterator, mixed $filter) : mixed`

##### Parameters

$iterator : Iterator
$filter : mixed

#### accept()

inc.ClassIterator.php : 220
`public accept() : bool`

##### Return values

bool

## Search results