public function S3fsStreamWrapper::url_stat in S3 File System 7.2
Same name and namespace in other branches
- 7.3 S3fsStreamWrapper.inc \S3fsStreamWrapper::url_stat()
- 7 S3fsStreamWrapper.inc \S3fsStreamWrapper::url_stat()
Support for stat().
Parameters
string $uri: The URI to get information about.
int $flags: A bit mask of STREAM_URL_STAT_LINK and STREAM_URL_STAT_QUIET. S3fsStreamWrapper ignores this value.
Return value
array An array with file status, or FALSE in case of an error.
Overrides StreamWrapperInterface::url_stat
See also
http://php.net/manual/en/streamwrapper.url-stat.php
File
- ./
S3fsStreamWrapper.inc, line 1048 - Drupal stream wrapper implementation for S3 File System.
Class
- S3fsStreamWrapper
- The stream wrapper class.
Code
public function url_stat($uri, $flags) {
$this
->_assert_constructor_called();
$this
->_debug("url_stat({$uri}, {$flags}) called.");
return $this
->_stat($uri);
}