API16

API16:JBuffer/stream open

From Joomla! Documentation

[Edit Descripton]

Template:Description:JBuffer/stream open

Syntax

stream_open($path, $mode, $options, &$opened_path)
Parameter Name Default Value Description
$path
$mode
$options
&$opened_path

Defined in

libraries/joomla/utilities/buffer.php

Importing

jimport( 'joomla.utilities.buffer' );

Source Body

function stream_open($path, $mode, $options, & $opened_path)
{
        $url = parse_url($path);
        $this->name = $url["host"];
        $this->_buffers[$this->name] = null;
        $this->position = 0;

        return true;
}

[Edit See Also] Template:SeeAlso:JBuffer/stream open

Examples

<CodeExamplesForm />