You are here

public function OEmbedStreamWrapper::stream_write in oEmbed 7

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

Support for fwrite(), file_put_contents() etc.

Since this is a read only stream wrapper this always returns false.

Parameters

string $data: The string to be written.

Return value

bool Returns FALSE.

Overrides StreamWrapperInterface::stream_write

File

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

Class

OEmbedStreamWrapper
@file Create a oEmbed Stream Wrapper class.

Code

public function stream_write($data) {
  return FALSE;
}