You are here

public function AmazonS3StreamWrapper::url_stat in AmazonS3 7

Support for stat().

Parameters

string $uri: A string containing the URI to get information about.

int $flags: A bit mask of STREAM_URL_STAT_LINK and STREAM_URL_STAT_QUIET.

Return value

array An array with file status, or FALSE in case of an error - see fstat() for a description of this array.

Overrides StreamWrapperInterface::url_stat

See also

http://php.net/manual/en/streamwrapper.url-stat.php

File

./AmazonS3StreamWrapper.inc, line 900
Drupal stream wrapper implementation for Amazon S3

Class

AmazonS3StreamWrapper
@file Drupal stream wrapper implementation for Amazon S3

Code

public function url_stat($uri, $flags) {
  $this
    ->assertConstructorCalled();
  return $this
    ->_stat($uri);
}