Actions

API16

JStreamString/stream read

From Joomla! Documentation

< API16:JStreamString
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

[Edit Descripton]

Description:JStreamString/stream read

Contents

Syntax

stream_read($count)
Parameter Name Default Value Description
$count

Defined in

libraries/joomla/filesystem/streams/string.php

Importing

jimport( 'joomla.filesystem.streams.string' );

Source Body

function stream_read($count)
{
        $result = substr($this->_currentstring, $this->_pos, $count);
        $this->_pos += $count;
        return $result;
}

[Edit See Also] SeeAlso:JStreamString/stream read

Examples

<CodeExamplesForm />