指定したポストデータを別の値で上書きします。

@param	string	$name	ポストデータ名
@param	mixed	$value	上書きするデータ
542268
public static function OverWritePostData ($name, $value) {
		$name = Arrays::AdjustArray($name);
		$keys = array_merge(['data'], $name);
		static::SetClassVar($keys, $value);
		static::SetClassVar(array_merge(['_post'], $keys), $value);
		$_POST['data'] = Arrays::SetLowest($_POST['data'] ?? [], $name, $value);
	}
619259
public function setValue($name, $value)
    {
        // handle field
        if (static::fieldExists($name)) {
            $this->_setFieldValue($name, $value);
        }
        // undefined
        else {
            return false;
        }
    }
1192946
protected function addParamsOption($name, $value)
    {
        if (is_array($value) && count($value)) {
            $this->addOption('content', $name, $value);
        }
    }
611715
protected function setHeader(string $name, $value)
    {
        \assert($this->isNameValid($name), "Invalid header name");

        if (\is_array($value)) {
            if (!$value) {
                $this->removeHeader($name);
                return;
            }

            $value = \array_values(\array_map("strval", $value));
        } else {
            $value = [(string) $value];
        }

        \assert($this->isValueValid($value), "Invalid header value");

        $name = \strtolower($name);
        $this->headers[$name] = $value;
    }
560188
public function set($name, $value)
	{
		if ( $value === null ) {
			unset($this->settings[$name]);
		}
		else {
			$this->settings[$name] = $value;
		}

		$this->store();
	}
552238
public function set($name, $value) {
		$this->vars[$name] = is_object($value) ? (method_exists($value, 'fetch') ? $value->fetch() : $value) : $value;
	}
1026260
protected function addData($name, $value)
    {
        if (!empty($name)) {
            if (is_array($value)) {
                $this->dataDocument->addArray(self::DATA_PATH_ROOT, $value, $name);
            } elseif ($value instanceof DOMNodeList) {
                $this->dataDocument->copyNodes(self::DATA_PATH_ROOT, $value);
            } elseif ($value instanceof Library\Dom) {
                $this->dataDocument->copyNodes(self::DATA_PATH_ROOT, $value->getNodes('/'));
            } elseif (is_object($value)) {
                $this->dataDocument->addObject(self::DATA_PATH_ROOT, $value, $name);
            } else {
                $this->dataDocument->addNode(self::DATA_PATH_ROOT, $name, $value);
            }
        }
    }
1042045
public function set($name, $value)
    {
        $name = $this->parseName($name);
        ObjectArrayHelper::set($this->data, $name, $value);
        $this->isChanged = true;
    }
1253877
protected function ensureParameterSet($name, $value)
    {
        if (!$this->container->getParameterBag()->has($name)) {
            $this->container->getParameterBag()->set($name, $value);
        }
    }
1283324
public function addTextHeader($name, $value = null)
    {
        $this->storeHeader($name, $this->factory->createTextHeader($name, $value));
    }
560546
public static function set($name, $value = '')
    {
        empty(self::$init) && self::init();

        if (is_string($name)) {
            $_SESSION[$name] = $value;
        }

        if (is_array($name)) {
            foreach ($name as $item => $val) {
                $_SESSION[$item] = $val;
            }
        }
    }
47057
public function SetAttribute($Name, $Value = '') {
      if (!is_array($Name))
         $Name = array($Name => $Value);

      foreach($Name as $Key => $Val) {
         if ($Val === NULL)
            unset($this->_Attributes[$Key]);
         $this->_Attributes[$Key] = $Val;
      }
   }
1261506
protected function setHeader(string $name, string $value)
    {
        $normalized = $this->normalizeHeaderKey($name);
        $this->headerNames[$normalized] = $name;
        $this->headers[$name] = $this->trimHeaderValues([$value]);
    }
8484
public function add(string $name, string $value): void
    {
        $header = $this->make();
        $header->name = $name;
        $header->value = $value;
        $this->set($header);
    }
318165
public function set( $name, $value )
	{
		$name = trim( $name, '/' );

		if( $value !== null )
		{
			$this->_cache[ $name ] = $value;

			if( isset( $this->_negCache[ $name ] ) ) {
				unset( $this->_negCache[ $name ] );
			}
		}
		else
		{
			$this->_negCache[ $name ] = true;
		}

		$this->_getObject()->set( $name, $value );
	}
729918
public function add($name, $value)
    {
        $s = $this->getNormalizedHeaderName($name);
        $this->headers[$this->nextIndex] = [ $name, $value ];
        $this->headerObjects[$this->nextIndex] = null;
        if (!isset($this->headerMap[$s])) {
            $this->headerMap[$s] = [];
        }
        array_push($this->headerMap[$s], $this->nextIndex);
        $this->nextIndex++;
    }
448564
public function addPostParameter($name, $value)
    {
        if (!$this->hasGetPostParamValue($name, true))
        {
            $this->postParams[$name] = $value;
            return true;
        }
        else
        {
            return false;
        }
    }