You are here

public function ResourceReadOnlyStreamWrapper::stream_read in D7 Media 6

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

resource/ResourceReadOnlyStreamWrapper.inc, line 131

Class

ResourceReadOnlyStreamWrapper
A base class for Resource Stream Wrappers.

Code

public function stream_read($count) {
  return FALSE;
}