public function ResourceReadOnlyStreamWrapper::stream_write in D7 Media 6
Support for fwrite(), file_put_contents() etc.
Parameters
$data: The string to be written.
Return value
The number of bytes written.
Overrides StreamWrapperInterface::stream_write
File
- resource/
ResourceReadOnlyStreamWrapper.inc, line 143
Class
- ResourceReadOnlyStreamWrapper
- A base class for Resource Stream Wrappers.
Code
public function stream_write($data) {
return FALSE;
}