API16:JStream/setContextOptions
From Joomla! Documentation
Description
Updates the context to the array Format is the same as the options for stream_context_create
Syntax
setContextOptions($context)
| Parameter Name | Default Value | Description |
|---|---|---|
| $context | Options to create the context with |
Defined in
libraries/joomla/filesystem/stream.php
Importing
jimport( 'joomla.filesystem.stream' );
Source Body
function setContextOptions($context)
{
$this->_contextOptions = $context;
$this->_buildContext();
}
Examples
Code Examples