Erebot  latest
A modular IRC bot for PHP 7.0+
Erebot\XGlobStream Class Reference

A stream wrapper which performs a glob on files and returns the content of all matching files, wrapped in XML boilerplate. More...

+ Inheritance diagram for Erebot\XGlobStream:

Public Member Functions

 stream_close ()
 
 stream_eof ()
 
 stream_open ($path, $mode, $options, &$openedPath)
 
 stream_read ($count)
 
 stream_seek ($offset, $whence)
 
 stream_tell ()
 

Public Attributes

 $context
 Stream context, set automatically by PHP.
 
const TAG = 'wrapping'
 The XML tag used to wrap the content.
 
const XMLNS = 'http://www.erebot.net/xmlns/xglob'
 The XML namespace the content will be wrapped into.
 

Protected Attributes

 $content
 Content of the stream.
 
 $position
 Current position in the stream.
 

Detailed Description

A stream wrapper which performs a glob on files and returns the content of all matching files, wrapped in XML boilerplate.

Provides a PHP stream wrapper for files with a glob-like feature.

Definition at line 32 of file XGlobStream.php.


The documentation for this class was generated from the following file: