Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are 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