english/libraries/joomla/filesystem/stream.php
/**
	 * Applies the current context to the stream
	 *
	 * Use this to change the values of the context after you've opened a stream
	 *
	 * @return  mixed
	 *
	 * @since   11.1
	 */
Applies the current context to the stream
Use this to change the values of the context after you've opened a stream

@return  mixed


Applies the current context to the stream Use this to change the values of the context after you ' ve opened a stream @return mixed
function applyContextToStream()
	{
		$retval = false;
		if ($this->_fh) {
			$php_errormsg = 'Unknown error setting context option';
			$track_errors = ini_get('track_errors');
			ini_set('track_errors', true);
			$retval = @stream_context_set_option($this->_fh, $this->_contextOptions);
			if (!$retval) {
				$this->setError($php_errormsg);
			}
			ini_set('track_errors', $track_errors);
		}
		return $retval;
	}
function applyContextToStream ( ) { $ retval = false ; if ( $ this -> _fh ) { $ php_errormsg = 'Unknown error setting context option' ; $ track_errors = ini_get ( 'track_errors' ) ; ini_set ( 'track_errors' , true ) ; $ retval = @ stream_context_set_option ( $ this -> _fh , $ this -> _contextOptions ) ; if ( ! $ retval ) { $ this -> setError ( $ php_errormsg ) ; } ini_set ( 'track_errors' , $ track_errors ) ; } return $ retval ; }
Applies the current context to the stream
 Use this to change the values of the context after you've opened a stream
Applies the current context to the stream Use this to change the values of the context after you ' ve opened a stream
// Capture PHP errors // restore error tracking to what it was before