1.15.x stream_wrappers.inc public BackdropLocalStreamWrapper::stream_flush()
1.12.x stream_wrappers.inc public BackdropLocalStreamWrapper::stream_flush()
1.14.x stream_wrappers.inc public BackdropLocalStreamWrapper::stream_flush()
1.10.x stream_wrappers.inc public BackdropLocalStreamWrapper::stream_flush()
1.11.x stream_wrappers.inc public BackdropLocalStreamWrapper::stream_flush()
1.13.x stream_wrappers.inc public BackdropLocalStreamWrapper::stream_flush()
1.7.x stream_wrappers.inc public BackdropLocalStreamWrapper::stream_flush()
1.8.x stream_wrappers.inc public BackdropLocalStreamWrapper::stream_flush()
1.9.x stream_wrappers.inc public BackdropLocalStreamWrapper::stream_flush()

Support for fflush().

Return value

TRUE if data was successfully stored (or there was no data to store).

Overrides StreamWrapperInterface::stream_flush

See also

http://php.net/manual/streamwrapper.stream-flush.php

File

includes/stream_wrappers.inc, line 511
Backdrop stream wrapper interface.

Class

BackdropLocalStreamWrapper
Backdrop stream wrapper base class for local files.

Code

public function stream_flush() {
  return fflush($this->handle);
}