Class JStreamString
String Stream Wrapper
This class allows you to use a PHP string in the same way that you would normally use a regular stream wrapper
Package: Joomla\Platform\FileSystem
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 11.1
Located at joomla/filesystem/streams/string.php
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 11.1
Located at joomla/filesystem/streams/string.php
Methods summary
public
boolean
|
#
stream_open( string $path, string $mode, integer $options, string & $opened_path )
Method to open a file or URL. |
public
array
|
|
public
array
|
|
public
|
#
stream_read( integer $count )
Method to read a given number of bytes starting at the current position and moving to the end of the string defined by the current position plus the given number. |
public
boolean
|
|
public
integer
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
Magic methods summary
Properties summary
protected
string
|
$currentString |
#
The current string |
protected
string
|
$path |
#
The path |
protected
string
|
$mode |
#
The mode |
protected
string
|
$options |
#
Enter description here ... |
protected
string
|
$openedPath |
#
Enter description here ... |
protected
integer
|
$pos |
#
Current position |
protected
string
|
$len |
#
Length of the string |
protected
array
|
$stat |
#
Statistics for a file |