You are here

public function DrupalRemoteStreamWrapper::stream_write in Remote Stream Wrapper 7

Support for fwrite(), file_put_contents() etc.

Parameters

$data: The string to be written.

Return value

The number of bytes written (integer).

Overrides StreamWrapperInterface::stream_write

See also

http://php.net/manual/en/streamwrapper.stream-write.php

File

./remote_stream_wrapper.inc, line 202

Class

DrupalRemoteStreamWrapper
Stream wrapper to support local files.

Code

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