API16

API16:JBuffer/stream open

From Joomla! Documentation

Revision as of 22:55, 22 March 2010 by Doxiki (talk | contribs) (New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JBuffer/stream_open}...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[Edit Descripton]

Template:Description:JBuffer/stream open

Syntax

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

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 />