public function DrupalLocalStreamWrapper::dir_readdir

public DrupalLocalStreamWrapper::dir_readdir()

Support for readdir().

Return value

The next filename, or FALSE if there are no more files in the directory.

Overrides StreamWrapperInterface::dir_readdir

See also

http://php.net/manual/streamwrapper.dir-readdir.php

File

includes/stream_wrappers.inc, line 724
Drupal stream wrapper interface.

Class

DrupalLocalStreamWrapper
Drupal stream wrapper base class for local files.

Code

public function dir_readdir() {
  return readdir($this->handle);
}

© 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!stream_wrappers.inc/function/DrupalLocalStreamWrapper::dir_readdir/7.x