public function AmazonS3StreamWrapper::dir_readdir in AmazonS3 7
Support for readdir().
Return value
string|bool 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
- ./
AmazonS3StreamWrapper.inc, line 1002 - Drupal stream wrapper implementation for Amazon S3
Class
- AmazonS3StreamWrapper
- @file Drupal stream wrapper implementation for Amazon S3
Code
public function dir_readdir() {
$filename = current($this->dir);
if ($filename !== FALSE) {
next($this->dir);
}
return $filename;
}