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.

Differences Between: [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403]

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: 315 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