code/libraries/joomlatools/library/filesystem/stream/abstract.php
public function getOptions()
    {
        if($resource = $this->getResource())
        {
            $options = stream_context_get_options($resource);

            if(!empty($options))
            {
                $name = key($options);
                $result = $options[$name];
            }
            else $result = array();

            return $result;
        }

        return $this->_options;
    }
public function getOptions()
    {
        if($resource = $this->getResource())
        {
            $options = stream_context_get_options($resource);

            if(!empty($options))
            {
                $name = key($options);
                $result = $options[$name];
            }
            else $result = array();

            return $result;
        }

        return $this->_options;
    }
public function getOptions ( ) { if ( $ resource = $ this -> getResource ( ) ) { $ options = stream_context_get_options ( $ resource ) ; if ( ! empty ( $ options ) ) { $ name = key ( $ options ) ; $ result = $ options [ $ name ] ; } else $ result = array ( ) ; return $ result ; } return $ this -> _options ; }
Get the stream options

@return array
Get the stream options