function 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 878

Class

DrupalLocalStreamWrapper
Drupal stream wrapper base class for local files.

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.