(non-PHPdoc)
@see PAGI\Client.IClient::getOption()
965355
public function getOption($file, $escapeDigits, $maxTime)
    {
        return $this->playAndRead(implode(' ', array(
            'GET', 'OPTION',
            '"' . $file . '"', '"' . $escapeDigits . '"',
            '"' . $maxTime . '"'
        )));
    }
112590
public function getOption($name) {
        if (!$this->definition->hasOption($name)) {
            throw new \InvalidArgumentException(sprintf('The "%s" option does not exist.', $name));
        }

        return isset($this->options[$name]) ? $this->options[$name] : $this->definition->getOption($name)->getDefault();
    }
342457
public function getOption($name)
    {
        if (!isset($this->options[$name])) {
            if (in_array($name, $this->names, true)) {
                return true;
            }

            return null;
        }

        return end($this->options[$name]);
    }
470948
public function getOption($option)
    {
        $value = null;
        if (! (@ldap_get_option($this->connection, $option, $value))) {
            $code = @ldap_errno($this->connection);
            throw new OptionException(
                sprintf(
                    'Could not retrieve option %s value: Ldap Error Code=%s - %s',
                    $code,
                    ldap_err2str($code)
                )
            );
        }
        return $value;
    }
1295193
public function Get($option)
    {
        if(isset($this->preferences[$option]))
        {
            return $this->preferences[$option];
        }

        return false;
    }
970604
public function getOption($option)
    {
        if (false === is_int($option)) {
            $this->log('warning', sprintf('Unknown memcached option: `%s`.', $option));

            return false;
        }

        if (false === $this->_cache->getOption($option)) {
            return $this->_onError('getOption');
        }

        return true;
    }
827947
public function getOption($key)
    {
        if (Core\Config::isValidOptionName($key)) {
            if (isset($this->$key)) {
                return $this->$key;
            } else {
                return Core\Config::get($key, true);
            }
        }
    }
1292609
public function getOption($name, $default = null)
    {
        return array_key_exists($name, $this->_options) ?
            $this->_options[$name] :
            $default;
    }
741839
public function getOption($name)
    {
        $name = strtolower($name);
        if (array_key_exists($name, $this->options)) {
            return $this->options[$name];
        }
        return null;
    }
207076
public function getOptional(/* ..., */$defaultValue) {
        $args = func_get_args();
        try {
            return call_user_func_array(array($this, "get"), array_slice($args, 0, -1));
        } catch (fphp\NotFoundSettingsException $e) {
            return $args[count($args) - 1];
        }
    }
516269
private function getOption() {
		
		// figure out which option was passed
		$searchOption = Console::findCommandOptionValue("get");
		$optionValue  = Config::getOption($searchOption);
		
		// write it out
		if (!$optionValue) {
			Console::writeError("the --get value you provided, <info>".$searchOption."</info>, does not exists in the config...");
		} else {
			$optionValue = (is_array($optionValue)) ? implode(", ",$optionValue) : $optionValue;
			$optionValue = (!$optionValue) ? "false" : $optionValue;
			Console::writeInfo($searchOption.": <ok>".$optionValue."</ok>");
		}
		
	}
916234
public function getOption($name)
    {
        if (!$this->hasOption($name)) {
            return null;
        }

        $getter = 'get' . ucfirst($name);

        return $this->options->{$getter}();
    }
245645
private function getopt()
    {

        // Reset option argument
        $this->optarg = null;
        
        // Check for index validity
        if ($this->optind >= $this->argc) {
            return -1;
        }

        // Get a copy of the current option to examine
        $arg = $this->argv[$this->optind];

        if ($this->isLongOption($arg)) {
            return $this->parseLongOption($arg);
        }

        if ($this->isShortOption($arg)) {
            return $this->parseShortOption($arg);
        }

        // If it's not an option, it's an argument,
        // so we stop parsing at the first non-option string
        // and $this->optind points to the first argument

        // Default: no options found
        return -1;
    }
789165
public function getOption($name = null, $option = null)
    {
        if (is_null($name)) {
            return $this->_option;
        } else {
            $option || $option = $this->getOption();
            if (strpos($name, '.') !== false) {
                list ($key, $name) = explode('.', $name, 2);
                return isset($option[$key]) && is_array($option[$key]) ? $this->getOption($name, $option[$key]) : null;
            } else {
                return isset($option[$name]) ? $option[$name] : null;
            }
        }
    }
1254706
public function getOptionFromDboptions($option, InputInterface $input)
    {
        $dbOptionReturnValue = null;
        if (!empty($input->getOption('dboptions'))) {
            $dbOptions = explode(',', $input->getOption('dboptions'));
            if (is_array($dbOptions)) {
                foreach ($dbOptions as $dbOption) {
                    $dbOptionParts = explode(':', $dbOption);
                    if (!empty($dbOptionParts[1])) {
                        $dbOptionValue = $dbOptionParts[1];
                    }
                    if ($option === $dbOptionParts[0]) {
                        if (!empty($dbOptionValue)) {
                            $dbOptionReturnValue = $dbOptionValue;
                        } else {
                            $dbOptionReturnValue = true;
                        }
                    }
                }
            }
        }
        return $dbOptionReturnValue;
    }
243335
public function getOption($option)
    {
        if ($this->_link) {
            if (defined($option)) {
                if (@ldap_get_option($this->_link, constant($option), $value)) {
                    return $value;
                } else {
                    $err = @ldap_errno($this->_link);
                    if ($err) {
                        $msg = @ldap_err2str($err);
                    } else {
                        $err = NET_LDAP2_ERROR;
                        $msg = Net_LDAP2::errorMessage($err);
                    }
                    return $this->raiseError($msg, $err);
                }
            } else {
                $this->raiseError("Unkown Option requested");
            }
        } else {
            $this->raiseError("No LDAP connection");
        }
    }
936066
public function getOption($key)
    {
        return (isset($this->_options[$key])) ? $this->_options[$key] : false;
    }