public function S3fsStreamWrapper::dir_readdir in S3 File System 7
Same name and namespace in other branches
- 7.3 S3fsStreamWrapper.inc \S3fsStreamWrapper::dir_readdir()
- 7.2 S3fsStreamWrapper.inc \S3fsStreamWrapper::dir_readdir()
Support for readdir().
Return value
string The next filename, or FALSE if there are no more files in the directory.
Overrides StreamWrapperInterface::dir_readdir
See also
http://php.net/manual/en/streamwrapper.dir-readdir.php
File
- ./
S3fsStreamWrapper.inc, line 1030 - Drupal stream wrapper implementation for S3 File System.
Class
- S3fsStreamWrapper
- The stream wrapper class.
Code
public function dir_readdir() {
$this
->_debug("dir_readdir() called.");
$entry = each($this->dir);
return $entry ? $entry['value'] : FALSE;
}