API16

JStream/ construct

< API16:JStream

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.

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


Advertisement