Documentation

RecursiveFolderFilterIterator extends FolderFilterIterator
in package

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()

public __construct(Iterator $iterator, mixed $filter) : mixed
Parameters
$iterator : Iterator
$filter : mixed

        
On this page

Search results