Menu

## RecursiveFolderFilterIterator extends FolderFilterIterator
in package

inc.ClassIterator.php : 246

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

#### Methods

__construct() : mixed
accept() : bool
getChildren() : mixed
hasChildren() : mixed

### Methods

#### __construct()

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

##### Parameters

$iterator : Iterator
$filter : mixed

#### accept()

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

##### Return values

bool

#### getChildren()

inc.ClassIterator.php : 256
`public getChildren() : mixed`

#### hasChildren()

inc.ClassIterator.php : 247
`public hasChildren() : mixed`

## Search results