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.

Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401]

Copyright 2009-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: 2009-2017 Horde LLC
License: http://www.horde.org/licenses/bsd BSD
File Size: 317 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Horde_Stream_Wrapper_Combine:: (8 methods):
  getStream()
  stream_open()
  stream_read()
  stream_write()
  stream_tell()
  stream_eof()
  stream_stat()
  stream_seek()


Class: Horde_Stream_Wrapper_Combine  - X-Ref

A stream wrapper that will combine multiple strings/streams into a single
stream.

getStream($data)   X-Ref
Create a stream from multiple data sources.

param: array $data  An array of strings and/or streams to combine into
return: resource  A PHP stream.

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

param: string $path
param: string $mode
param: integer $options
param: string &$opened_path

stream_read($count)   X-Ref

param: integer $count
return: mixed

stream_write($data)   X-Ref

param: string $data
return: integer

stream_tell()   X-Ref

return: integer

stream_eof()   X-Ref

return: boolean

stream_stat()   X-Ref

return: array

stream_seek($offset, $whence)   X-Ref

param: integer $offset
param: integer $whence  SEEK_SET, SEEK_CUR, or SEEK_END
return: boolean