You are here

public function OEmbedStreamWrapper::url_stat in oEmbed 7

Same name and namespace in other branches
  1. 7.0 OEmbedStreamWrapper.inc \OEmbedStreamWrapper::url_stat()

Support for stat().

Parameters

string $url: A string containing the url 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

File

./OEmbedStreamWrapper.inc, line 308
Create a oEmbed Stream Wrapper class.

Class

OEmbedStreamWrapper
@file Create a oEmbed Stream Wrapper class.

Code

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