Sets a query parameter.

@since 1.0.0

@param string $name  The query parameter name.
@param string $value The query parameter value.
518875
protected function setQueryParameter(string $name, string $value): void
    {
        $this->queryParameters->set($name, $value);
    }
802765
protected function setQueryParam($param, $value)
    {
        if ( !in_array($param, $this->queryWhitelist) ) {
            throw new \InvalidArgumentException(sprintf('The query parameter `%s` was not recognized.', $param));
        }

        $this->parameters->set($param, $value);
    }
350858
public Query<T> setParameter(String name, Object value) {
        return query().setParameter(name, value);
    }
987062
public function set($name, $value)
    {
        if (! is_array($value)) {
            $value = ['value' => (string) $value];
        }
        $this->responseCookies[$name] = array_replace($this->defaults, $value);
    }
100774
public function setParam($name, $value)
	{
		if (null === $this->params)
		{
			$this->params = $this->loadParams();
		}

		$this->params->set($name, $value);

		return $this;
	}
486986
protected static function _bindParam(\Mmi\Orm\Query $q, $name, $value)
    {
        if ($value === true) {
            $q->andField($name)->notEquals(null);
            return;
        }
        $q->andField($name)->equals($value);
    }
1149972
public void addParamQuery(String name, String value) {
        addParam(name, value, NameValuePair.TYPE_QUERY_STRING);
    }
580732
public function set(string $name, $value)
    {
        if (! array_key_exists($name, $this->map)) {
            throw new \InvalidArgumentException("Setting $name does not exists");
        }
        $this->map[$name] = $value;
    }
589594
public function setValue($name, $value = '')
    {
        if (\is_array($name)) {
            foreach ($name as $key => $val) {
                if (isset($this->$key)) {
                    $this->$key = $val;
                }
            }
        } else {
            if (isset($this->$name)) {
                $this->$name = $value;
            }
        }
    }
550517
protected static function set(string $name, string $value): void
    {
        $name = \trim($name);

        if (
            (isset($name[0]) && $name[0] === '#') ||
            (static::$immutable && static::get($name) !== null)
        ) {
            return;
        }

        static::$names[] = $name;
        $value = \trim($value);

        // If PHP is running as an Apache module and an existing
        // Apache environment variable exists, overwrite it
        if (
            \function_exists('\\apache_setenv') &&
            \function_exists('\\apache_getenv') &&
            \apache_getenv($name) !== false
        ) {
            \apache_setenv($name, $value);
        }

        if (\function_exists('\\putenv')) {
            \putenv("$name=$value");
        }

        $_ENV[$name] = $value;
        $_SERVER[$name] = $value;
    }
63172
public function setOption($name, $value=null)
    {
        if (is_array($name)) {
            $this->options = array_merge($this->options, $name);
        } else {
            $this->options[$name] = $value;
        }
    }
106956
public function setOption($name, $value) {
    if (!array_key_exists($name, $this->options)) {
      throw new InvalidArgumentException(sprintf('Undefined option: "%s"', $name));
    }

    $this->options[$name] = $value;
    $this->getHttpClient()->setOption($name, $value);
  }
868170
public function setParameter($name, $value)
    {
        $this->temp_settings[$name] = $value;
        
        $this->temp_settings["__dirty"][$this->context] = true;
    }
64884
public function addParam(string $name, $value): self
    {
        $this->parsedUri->queryString()->addParam($name, $value);
        return $this;
    }
985135
public function setParam($name, $value)
    {
        switch ($name) {
            case 'processor':
                $this->setProcessor($value);
                break;
            case 'message':
                $this->setMessage($value);
                break;
            case 'result':
                $this->setResult($value);
                break;
            default:
                parent::setParam($name, $value);
                break;
        }
        return $this;
    }
33208
public function & SetParam ($name = '', $value = '') {
		/** @var $this \MvcCore\Request */
		if ($this->params === NULL) $this->initParams();
		$this->params[$name] = $value;
		return $this;
	}
590008
protected function setParam($name, $value) {
        $params = $this->getParams();
        $params->$name = $value;
        $this->setParams($params);
    }