Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

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

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

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

return: mixed
param: integer $count

stream_write($data)   X-Ref

return: integer
param: string $data

stream_tell()   X-Ref

return: integer

stream_eof()   X-Ref

return: boolean

stream_stat()   X-Ref

return: array

stream_seek($offset, $whence)   X-Ref

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