\Horde_Stream_Wrapper_String

A stream wrapper that will treat a native PHP string as a stream.

Summary

Methods
Properties
Constants
getStream()
stream_open()
stream_close()
stream_read()
stream_write()
stream_tell()
stream_eof()
stream_stat()
stream_seek()
$context
WRAPPER_NAME
No protected methods found
$_pos
$_string
N/A
No private methods found
$_id
N/A

Constants

WRAPPER_NAME

WRAPPER_NAME

Properties

$context

$context : resource

The current context.

Type

resource

$_pos

$_pos : integer

String position.

Type

integer

$_string

$_string : string

The string.

Type

string

$_id

$_id : integer

Unique ID tracker for the streams.

Type

integer

Methods

getStream()

getStream(  $string) : resource

Create a stream from a PHP string.

Parameters

$string

Returns

resource —

A PHP stream pointing to the variable.

stream_open()

stream_open(  $path,   $mode,   $options,   $opened_path) 

Parameters

$path
$mode
$options
$opened_path

stream_close()

stream_close() 

stream_read()

stream_read(  $count) 

Parameters

$count

stream_write()

stream_write(  $data) 

Parameters

$data

stream_tell()

stream_tell() 

stream_eof()

stream_eof() 

stream_stat()

stream_stat() 

stream_seek()

stream_seek(  $offset,   $whence) 

Parameters

$offset
$whence