public function MediaReadOnlyStreamWrapper::stream_read in D7 Media 7
Same name and namespace in other branches
- 7.4 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::stream_read()
- 7.2 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::stream_read()
- 7.3 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::stream_read()
Support for fread(), file_get_contents() etc.
Parameters
$count: Maximum number of bytes to be read.
Return value
The string that was read, or FALSE in case of an error.
Overrides StreamWrapperInterface::stream_read
File
- includes/
MediaReadOnlyStreamWrapper.inc, line 240
Class
- MediaReadOnlyStreamWrapper
- A base class for Resource Stream Wrappers.
Code
public function stream_read($count) {
return FALSE;
}