You are here

public function DrupalLocalStreamWrapper::dir_readdir in Drupal 7

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 872
Drupal stream wrapper interface.

Class

DrupalLocalStreamWrapper
Drupal stream wrapper base class for local files.

Code

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