API16

JStream/setContextOptions

< API16:JStream

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

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


Advertisement