Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 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.

Differences Between: [Versions 39 and 401] [Versions 39 and 402] [Versions 39 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