Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.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