You are here

protected function S3fsStreamWrapper::_get_option in S3 File System 7

Same name and namespace in other branches
  1. 7.2 S3fsStreamWrapper.inc \S3fsStreamWrapper::_get_option()

Get a specific stream context option

Parameters

string $name Name of the option to retrieve:

Return value

mixed|null

2 calls to S3fsStreamWrapper::_get_option()
S3fsStreamWrapper::_open_read_stream in ./S3fsStreamWrapper.inc
Initialize the stream wrapper for a read only stream.
S3fsStreamWrapper::_trigger_error in ./S3fsStreamWrapper.inc
Triggers one or more errors.

File

./S3fsStreamWrapper.inc, line 1281
Drupal stream wrapper implementation for S3 File System.

Class

S3fsStreamWrapper
The stream wrapper class.

Code

protected function _get_option($name) {
  $options = $this
    ->_get_options();
  return isset($options[$name]) ? $options[$name] : NULL;
}