Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.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