protected function SkipDotsRecursiveDirectoryIterator::skipdots

protected SkipDotsRecursiveDirectoryIterator::skipdots()

File

includes/filetransfer/filetransfer.inc, line 422

Class

SkipDotsRecursiveDirectoryIterator
Provides an interface for iterating recursively over filesystem directories.

Code

protected function skipdots() {
  while ($this->isDot()) {
    parent::next();
  }
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!filetransfer!filetransfer.inc/function/SkipDotsRecursiveDirectoryIterator::skipdots/7.x