You are here

public function S3fsStreamWrapper::dir_rewinddir in S3 File System 7

Same name and namespace in other branches
  1. 7.2 S3fsStreamWrapper.inc \S3fsStreamWrapper::dir_rewinddir()

Support for rewinddir().

Return value

bool TRUE on success.

Overrides StreamWrapperInterface::dir_rewinddir

See also

http://php.net/manual/en/streamwrapper.dir-rewinddir.php

File

./S3fsStreamWrapper.inc, line 1045
Drupal stream wrapper implementation for S3 File System.

Class

S3fsStreamWrapper
The stream wrapper class.

Code

public function dir_rewinddir() {
  $this
    ->_debug("dir_rewinddir() called.");
  reset($this->dir);
  return TRUE;
}