API16

API16:JStream/setContextOptions

From Joomla! Documentation

Revision as of 14:27, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

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 />