JStream/setContextOptions: Difference between revisions
From Joomla! Documentation
New page: ===Description===
Updates the context to the array Format is the same as the options for stream_context_create
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[D... |
m clean up |
||
| Line 2: | Line 2: | ||
Updates the context to the array Format is the same as the options for stream_context_create | Updates the context to the array Format is the same as the options for stream_context_create | ||
{{Description:JStream/setContextOptions}} | |||
{{subst:Description:JStream/setContextOptions}} | |||
===Syntax=== | ===Syntax=== | ||
| Line 36: | Line 34: | ||
</source> | </source> | ||
{{subst:SeeAlso:JStream/setContextOptions}} | |||
{{SeeAlso:JStream/setContextOptions}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 14:27, 24 March 2017
Description
Updates the context to the array Format is the same as the options for stream_context_create
{{subst:Description:JStream/setContextOptions}}
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();
}
{{subst:SeeAlso:JStream/setContextOptions}}
Examples
<CodeExamplesForm />