StringStream
in package
implements
Horde_Stream_Wrapper_StringStream
Tags
Interfaces, Classes, Traits and Enums
- Horde_Stream_Wrapper_StringStream
Table of Contents
- WNAME = 'horde-string'
- $_string : string
- String data.
- __construct() : mixed
- Constructor
- fopen() : resource
- Return a stream handle to this string stream.
- getFileObject() : SplFileObject
- Return an SplFileObject representing this string stream
- getString() : string
- Return a reference to the wrapped string.
- installWrapper() : mixed
- Install the stream wrapper if it isn't already registered.
Constants
WNAME
public
mixed
WNAME
= 'horde-string'
Properties
$_string
String data.
protected
string
$_string
Methods
__construct()
Constructor
public
__construct(string &$string) : mixed
Parameters
- $string : string
-
Reference to the string to wrap as a stream
Return values
mixed —fopen()
Return a stream handle to this string stream.
public
fopen() : resource
Return values
resource —getFileObject()
Return an SplFileObject representing this string stream
public
getFileObject() : SplFileObject
Return values
SplFileObject —getString()
Return a reference to the wrapped string.
public
& getString() : string
Return values
string —installWrapper()
Install the stream wrapper if it isn't already registered.
public
installWrapper() : mixed