Actions

API16

JStream/ construct

From Joomla! Documentation

< API16:JStream
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Contents

Description

Constructor

[Edit Descripton]

Description:JStream/ construct

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();
}

[Edit See Also] SeeAlso:JStream/ construct

Examples

<CodeExamplesForm />