@abstract       Safe Get of A Global Parameter

@param string $key     Global Parameter Key
@param mixed  $default Default Parameter Value
@param string $domain  Parameters Domain Key

@return mixed
175186
public function getParameter($key, $default = null, $domain = null)
    {
        if ($domain) {
            return isset($this->config[$domain][$key])  ? $this->config[$domain][$key] : $default;
        }

        return isset($this->config[$key])  ? $this->config[$key] : $default;
    }
942844
public function getParam($key = null, $default = null)
    {
        if (null === $key) {
            return $_GET;
        }
        return (isset($_GET[$key])) ? $_GET[$key] : $default;
    }
27219
public static function server($key=null,$default=null){
    return $key ? (isset($_SERVER[$key]) ? $_SERVER[$key] : (is_callable($default)?call_user_func($default):$default)) : $_SERVER;
  }
678999
protected function getPagingParameter($key, $default, EncodingParametersInterface $parameters = null)
    {
        $value = $default;
        if ($parameters !== null) {
            $paging = $parameters->getPaginationParameters();
            if (empty($paging) === false && array_key_exists($key, $paging) === true) {
                $tmp   = (int)$paging[$key];
                $value = $tmp < 0 || $tmp > static::MAX_PAGE_SIZE ? static::MAX_PAGE_SIZE : $tmp;
            }
        }

        return $value;
    }
1370321
function get($key, $default = null)
	{
		return $_GET[$key] ?? $this->params[$key] ?? $_POST[$key] ?? $_REQUEST[$key] ?? $default;
	//	return $post && isset($_POST[$name]) ? $_POST[$name] : ($get && isset($_GET[$name]) ? $_GET[$name] : $default);
	}
633122
public function getServerParam(string $key, $default = null)
    {
        $key = \strtoupper($key);

        return $this->serverParams[$key] ?? $default;
    }
109512
public function get($key, $default = null)
    {
        if (!GC_CLI && isset($_SESSION)) {
            $value = gplcart_array_get($_SESSION, $key);
        }

        return isset($value) ? $value : $default;
    }
656003
public function get($key, $default = null)
    {
        if(strpos($key, '.')) {
            return $this->getRecursive($key, $default);
        }

        if (array_key_exists($key, $this->parameters)) {
            return $this->parameters[$key];
        } else {
            return $default;
        }
    }
712634
public function get($key, $default = NULL) {

		return array_key_exists($key, $this->values) ? $this->values[$key] : $default;

	}
296045
public function get($key, $default = null)
    {
        $value = parent::get($key, $default);
        if (is_array($value)) {
            $value = array_shift($value);
        }
        return $value;
    }
114962
public function get($key, $default = NULL) {

		return array_key_exists($key, $this->data) ? $this->data[$key] : $default;

	}
999654
public function getParam($key = null, $default = null)
    {
        if (null === $key) {
            return $this->data[self::P_PARAMS];
        }

        return $this->hasParam($key) ? $this->data[self::P_PARAMS][$key] : $default;
    }
52800
public static function get($key, $default=null) {
		if( !isset(static::$main) ) {
			return $default;
		}
		return isset(static::$main->$key) ? static::$main->$key : $default;
	}
945739
public function getSessionParam($key, $default = null)
    {
        $params = $this->getSessionParams();

        return array_key_exists($key, $params) ? $params[$key] : $default;
    }
117885
protected function getServerParam($key, $default = null)
    {
        if (isset($this->server[$key])) {
            return $this->server[$key];
        }

        return $default;
    }
1275693
public static function getSessParam($key, $default = null)
  {
    return (array_key_exists($key, $_SESSION) && !empty($_SESSION[$key])) ? $_SESSION[$key] : $default;
  }
257107
public function getParameter($key, $default = null)
    {
        return isset($this->options[$key]) ? $this->options[$key] : $default;
    }