Documentation

Horde_Support_StringStream
in package
implements Horde_Stream_Wrapper_StringStream

Tags
author

Chuck Hagenbuch chuck@horde.org

category

Horde

deprecated

Use Horde_Stream_Wrapper_String::getStream()

license

http://www.horde.org/licenses/bsd BSD

Interfaces, Classes and Traits

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

Properties

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
Return values
mixed

Search results