JBuffer/stream open: Difference between revisions
From Joomla! Documentation
New page:
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JBuffer/stream_open}... |
No edit summary |
||
Line 27: | Line 27: | ||
| | | | ||
|- | |- | ||
| | | &$opened_path | ||
| | | | ||
| | | |
Revision as of 10:19, 30 March 2010
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 />