You are here

public function ResourceReadOnlyStreamWrapper::stream_seek in D7 Media 6

Support for fseek().

Parameters

$offset: The byte offset to got to.

$whence: SEEK_SET, SEEK_CUR, or SEEK_END.

Return value

TRUE on success

Overrides StreamWrapperInterface::stream_seek

File

resource/ResourceReadOnlyStreamWrapper.inc, line 167

Class

ResourceReadOnlyStreamWrapper
A base class for Resource Stream Wrappers.

Code

public function stream_seek($offset, $whence) {
  return FALSE;
}