dir_rewinddir ()

This method is called in response to rewinddir().

Should reset the output generated by streamWrapper::dir_readdir(). i.e.: The next call to streamWrapper::dir_readdir() should return the first entry in the location returned by streamWrapper::dir_opendir().

Access

public

Returns

Type

Description

boolean

Returns true on success or false on failure.

Source

Method defined in extensions/s3streamwrapper.class.php | Toggle source view (6 lines) | View on GitHub

public function dir_rewinddir()
{
    $this->position = 0;

    return true;
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback