API16:JStream/ construct
From Joomla! Documentation
Description
Constructor
Syntax
__construct($writeprefix='', $readprefix='', $context=Array())
| Parameter Name | Default Value | Description |
|---|---|---|
| $writeprefix | Prefix of the stream; Note: unlike the JPATH_*, this has a final path seperator! | |
| $readprefix | ||
| $context | Array() |
Defined in
libraries/joomla/filesystem/stream.php
Importing
jimport( 'joomla.filesystem.stream' );
Source Body
function __construct($writeprefix='', $readprefix='', $context=Array())
{
$this->writeprefix = $writeprefix;
$this->readprefix = $readprefix;
$this->_contextOptions = $context;
$this->_buildContext();
}
Examples
Code Examples