dir_closedir ()

Close directory handle. This method is called in response to closedir().

Since Amazon S3 doesn’t have real directories, always return true.

Access

public

Source

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

public function dir_closedir()
{
    $this->position = 0;
    $this->path = null;
    $this->file_list = null;
    $this->open_file = null;
    $this->seek_position = 0;
    $this->eof = false;
    $this->buffer = null;
    $this->object_size = 0;

    return true;
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback