You are here

public function ResourceReadOnlyStreamWrapper::url_stat in D7 Media 6

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

resource/ResourceReadOnlyStreamWrapper.inc, line 291

Class

ResourceReadOnlyStreamWrapper
A base class for Resource Stream Wrappers.

Code

public function url_stat($url, $flags) {
  return FALSE;
}