1 file_example_session_streams.inc public FileExampleSessionStreamWrapper::stream_tell()

Support for ftell().

Return value

int: The current offset in bytes from the beginning of file.

Overrides StreamWrapperInterface::stream_tell

See also

http://php.net/manual/en/streamwrapper.stream-tell.php

File

modules/examples/file_example/file_example_session_streams.inc, line 408
Provides a demonstration session:// stream-wrapper.

Class

FileExampleSessionStreamWrapper
Example stream wrapper class to handle session:// streams.

Code

public function stream_tell() {
  return $this->streamPointer;
}