API16

JBuffer/stream open

From Joomla! Documentation

< API16:JBuffer
Revision as of 05:19, 30 March 2010 by Doxiki (talk | contribs)

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

[Edit Descripton]

Template:Description:JBuffer/stream open

Syntax[edit]

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

Defined in[edit]

libraries/joomla/utilities/buffer.php

Importing[edit]

jimport( 'joomla.utilities.buffer' );

Source Body[edit]

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[edit]

<CodeExamplesForm />