API16

JStream/setContextOptions: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
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  


<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JStream/setContextOptions|Edit Descripton]]<nowiki>]</nowiki>
</span>


{{Description:JStream/setContextOptions}}
 
{{subst:Description:JStream/setContextOptions}}


===Syntax===
===Syntax===
Line 36: Line 34:
</source>
</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JStream/setContextOptions|Edit See Also]]<nowiki>]</nowiki>
{{subst:SeeAlso:JStream/setContextOptions}}
</span>
{{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 />