You are here

public function MediaReadOnlyStreamWrapper::stream_seek in D7 Media 7

Same name and namespace in other branches
  1. 7.4 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::stream_seek()
  2. 7.2 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::stream_seek()
  3. 7.3 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::stream_seek()

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

includes/MediaReadOnlyStreamWrapper.inc, line 276

Class

MediaReadOnlyStreamWrapper
A base class for Resource Stream Wrappers.

Code

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