protected function S3fsStreamWrapper::_get_options in S3 File System 7
Same name and namespace in other branches
- 7.2 S3fsStreamWrapper.inc \S3fsStreamWrapper::_get_options()
Get the stream context options available to the current stream.
Return value
array
2 calls to S3fsStreamWrapper::_get_options()
- S3fsStreamWrapper::_get_option in ./
S3fsStreamWrapper.inc - Get a specific stream context option
- S3fsStreamWrapper::_get_params in ./
S3fsStreamWrapper.inc - Get the Command parameters for the specified URI.
File
- ./
S3fsStreamWrapper.inc, line 1268 - Drupal stream wrapper implementation for S3 File System.
Class
- S3fsStreamWrapper
- The stream wrapper class.
Code
protected function _get_options() {
$context = isset($this->context) ? $this->context : stream_context_get_default();
$options = stream_context_get_options($context);
return isset($options['s3']) ? $options['s3'] : array();
}