API16:JStream/addContextEntry
From Joomla! Documentation
Description
Adds a particular options to the context
Syntax
addContextEntry($wrapper, $name, $value)
| Parameter Name | Default Value | Description |
|---|---|---|
| $wrapper | The wrapper to use | |
| $name | The option to set | |
| $value | The value of the option |
Defined in
libraries/joomla/filesystem/stream.php
Importing
jimport( 'joomla.filesystem.stream' );
Source Body
function addContextEntry($wrapper, $name, $value)
{
$this->_contextOptions[$wrapper][$name] = $value;
$this->_buildContext();
}
Examples
Code Examples