JBuffer/stream open: Difference between revisions
From Joomla! Documentation
No edit summary |
m preparing for archive only |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<! removed transcluded page call, red link never existed > | |||
< | |||
===Syntax=== | ===Syntax=== | ||
Line 50: | Line 45: | ||
</source> | </source> | ||
<! removed transcluded page call, red link never existed > | |||
< | |||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=stream_open | category=stream_open | ||
category=JBuffer | category=JBuffer | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
[[Category:Archived pages API16]] |
Latest revision as of 01:20, 25 March 2017
<! removed transcluded page call, red link never existed >
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;
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples