Returns Key Based on Requirement.

@param string $key
@param bool   $is_option

@return string
343533
public function get_key( $key = '', $is_option = false ) {
		if ( true === $is_option ) {
			return $this->option_prefix . $key . $this->option_surfix;
		}

		return $this->transient_prefix . $key . $this->transient_surfix;
	}
943302
protected function option($key = null)
    {
        if (is_null($key)) {
            return $this->input->getOptions();
        }

        return $this->input->getOption($key);
    }
1248891
public function getPk($options = '')
    {
        if (!empty($this->pk)) {
            $pk = $this->pk;
        } else {
            $pk = $this->getTableInfo(is_array($options) ? $options['table'] : $options, 'pk');
        }
        return $pk;
    }
850379
public function hasOption($key, $option)
    {
        return isset($this->container[$key]) && array_key_exists($option, $this->container[$key]);
    }
788569
public function getOpt($key, $default = false)
	{
		return (isset($this->opts[$key])) ? $this->opts[$key] : $default;
	}
298817
public function get($key, $default = null)
    {
        return isset($this->options[$key]) ? $this->options[$key] : $default;
    }
1192789
final protected function get($option)
    {
        if (array_key_exists($key = "$option", $this->options)) {
            return $this->options[$key];
        }

        if (array_key_exists($key, $this->defaults)) {
            return $this->defaults[$key];
        }
    }
1153367
public function get($key, $default = null) {

        return array_key_exists($key, $this->options) ? $this->options[$key] : $default;
    }
872809
public function getWithOption($key, $option, $default = false)
    {
        if ($this->hasOption($key, $option)) {
            return $this->container[$key][$option];
        } else {
            return $default;
        }
    }
181290
protected function getOptionOrConfig($key)
    {
        if ($option = $this->option($key)) {
            return $option;
        }

        return $this->config->get("laroute.{$key}");
    }
2524
public function retrieve($options = array(), $isArray = false)
    {
        $params = array(
            'consumer_key'  => $this->consumer_key,
            'access_token'  => $this->access_token
        );

        // combine the creds with any options sent
        $params = array_merge($params, $options);

        $request = $this->getClient()->post('/v3/get');
        $request->getParams()->set('redirect.strict', true);
        $request->setHeader('Content-Type', 'application/json; charset=UTF8');
        $request->setHeader('X-Accept', 'application/json');
        $request->setBody(json_encode($params));
        $response = $request->send();

        return json_decode($response->getBody(), $isArray);
    }
1280700
public function getOption($key)
    {
        if (!isset($this->options[ $key ])) {
            throw new \OutOfBoundsException("Option {$key} is not set.");
        }

        return $this->options[ $key ];
    }
1146483
public static function GetPKeys ($forced_obtain = false, $options = []) {
		$options += $options + static::GetDefaultOptions();
		return DBI::GetPkeys($options, static::GetName(), $forced_obtain);
	}
383873
public static function contains( $options = array(), $key )
    {
        $_key = static::_cleanKey( $key );

        //	Check both the raw and cooked keys
        return
            ( is_array( $options ) && ( isset( $options[$key] ) || isset( $options[$_key] ) ) ) ||
            ( is_object( $options ) && ( property_exists( $options, $key ) || property_exists( $options, $_key ) ) );
    }
570528
protected function getOption($key)
    {
        if (!isset($this->options[$key])) {
            return null;
        }

        return $this->options[$key];
    }
215158
protected function requireOption($key)
    {
        $value = $this->option($key);
        if ($value === null) {
            throw new Exception("The '{$key}' option is required.");
        }

        return $value;
    }
1349634
public function optionExpectsValue($key) {
    $spec_data = $this->getOptionDataByOptionKey();
    if (!isset($spec_data[$key])) { return false; }
    return strlen($spec_data[$key]['value_name']) ? true : false;
  }