API16

API16:JStream/setContextOptions

From Joomla! Documentation

Revision as of 22:48, 22 March 2010 by 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...)
(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

[Edit Descripton]

Template: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();
}

[Edit See Also] Template:SeeAlso:JStream/setContextOptions

Examples

<CodeExamplesForm />