Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Copyright 2007-2017 Horde LLC (http://www.horde.org/) See the enclosed file LICENSE for license information (BSD). If you did not receive this file, see http://www.horde.org/licenses/bsd.

Copyright: 2007-2017 Horde LLC
License: http://www.horde.org/licenses/bsd BSD
File Size: 211 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Horde_Stream_Wrapper_String:: (9 methods):
  getStream()
  stream_open()
  stream_close()
  stream_read()
  stream_write()
  stream_tell()
  stream_eof()
  stream_stat()
  stream_seek()


Class: Horde_Stream_Wrapper_String  - X-Ref

A stream wrapper that will treat a native PHP string as a stream.

getStream(&$string)   X-Ref
Create a stream from a PHP string.

param: string &$string  A PHP string variable.
return: resource  A PHP stream pointing to the variable.

stream_open($path, $mode, $options, &$opened_path)   X-Ref


stream_close()   X-Ref


stream_read($count)   X-Ref


stream_write($data)   X-Ref


stream_tell()   X-Ref


stream_eof()   X-Ref


stream_stat()   X-Ref


stream_seek($offset, $whence)   X-Ref