You are here

public function MediaReadOnlyStreamWrapper::url_stat in D7 Media 7

Same name and namespace in other branches
  1. 7.4 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::url_stat()
  2. 7.2 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::url_stat()
  3. 7.3 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::url_stat()

Support for stat().

Parameters

$url: A string containing the url to get information about.

$flags: A bit mask of STREAM_URL_STAT_LINK and STREAM_URL_STAT_QUIET.

Return value

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

Overrides StreamWrapperInterface::url_stat

File

includes/MediaReadOnlyStreamWrapper.inc, line 415

Class

MediaReadOnlyStreamWrapper
A base class for Resource Stream Wrappers.

Code

public function url_stat($url, $flags) {
  return $this
    ->stream_stat();
}