1 stream_wrappers.inc | public BackdropLocalStreamWrapper::stream_write($data) |
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/streamwrapper.stream-write.php
File
- core/
includes/ stream_wrappers.inc, line 471 - Backdrop stream wrapper interface.
Class
- BackdropLocalStreamWrapper
- Backdrop stream wrapper base class for local files.
Code
public function stream_write($data) {
return fwrite($this->handle, $data);
}