You are here

function SkipDotsRecursiveDirectoryIterator::__construct in Drupal 7

Constructs a SkipDotsRecursiveDirectoryIterator

Parameters

$path: The path of the directory to be iterated over.

File

includes/filetransfer/filetransfer.inc, line 407

Class

SkipDotsRecursiveDirectoryIterator
Provides an interface for iterating recursively over filesystem directories.

Code

function __construct($path) {
  parent::__construct($path);
  $this
    ->skipdots();
}