API16

API16:JStream/setContextOptions

From Joomla! Documentation

Revision as of 02:07, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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