API15

API15:JBuffer/stream read

From Joomla! Documentation

Revision as of 00:20, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<! removed transcluded page call, red link never existed >

Syntax

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

Defined in

libraries/joomla/utilities/buffer.php

Importing

jimport( 'joomla.utilities.buffer' );

Source Body

function stream_read($count)
{
        $ret = substr($this->_buffers[$this->name], $this->position, $count);
        $this->position += strlen($ret);
        return $ret;
}


<! removed transcluded page call, red link never existed >

Examples

Code Examples