public function MediaReadOnlyStreamWrapper::stream_write in D7 Media 7
Same name and namespace in other branches
- 7.4 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::stream_write()
- 7.2 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::stream_write()
- 7.3 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::stream_write()
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
- includes/
MediaReadOnlyStreamWrapper.inc, line 252
Class
- MediaReadOnlyStreamWrapper
- A base class for Resource Stream Wrappers.
Code
public function stream_write($data) {
return FALSE;
}