Set the value of Hidden / hidden
@param $value int
@return Setting
331351
public function setHidden(?int $value) : Setting
    {

        if ($this->data['hidden'] !== $value) {
            $this->data['hidden'] = $value;
            $this->setModified('hidden');
        }

        return $this;
    }
1370059
public function setValue($value = null) {

		if(isset($value)) {
			parent::setValue($value);
		}

		if(isset($this->selectedOption) && $this->selectedOption->getValue() != $this->getValue()) {
			$this->selectedOption->unselect();
			$this->selectedOption = null;
		}

		if(!isset($this->selectedOption)) {
			foreach($this->options as $o) {
				if($o->getValue() == $this->getValue()) {
					$o->select();
					$this->selectedOption = $o;
					break;
				}
			}
		}

		return $this;

	}
410159
public function setIgnoreDocumentMargin($value = TRUE) {
    if ($this->validateIgnoreDocumentMargin($value)) {
      $this->ignoreDocumentMargin = $value;
    }
    return $this;
  }
906164
public function setValue($value)
    {
        if (!isset($value)) {
            unset($this->value);
            return $this;
        }
        $this->value = (string) $value;
        return $this;
    }
1083663
public function setSalt( $value )
	{
		if( (string) $value !== $this->getSalt() )
		{
			$this->values['salt'] = (string) $value;
			$this->setModified();
		}

		return $this;
	}
74893
public function setValue($value)
    {
        if (is_array($value)) {
            foreach ($value as $childKey => $childValue) {
                $this->children[$childKey] = new static($childValue);
            }
            $this->value = null;
        } else {
            $this->value = $value;
            $this->children = array();
        }
        return $this;
    }
456471
public function setIsCurrent($value)
    {
        if ($value) {
            $this->current = true;
        } else {
            $this->current = null;
        }

        return $this;
    }
209375
public function hidden($name = NULL, String $value = NULL)
    {
        $name  = $this->settings['attr']['name' ] ?? $name ;
        $value = $this->settings['attr']['value'] ?? $value;

        $this->settings['attr'] = [];

        $hiddens = NULL;
        
        if( is_array($name) ) foreach( $name as $key => $val )
        {
            $hiddens .= $this->createHiddenElement($key, $val);
        }
        else
        {
            $hiddens =  $this->createHiddenElement($name, $value);
        }

        $this->outputElement .= $hiddens;

        return $this;
    }
350249
public function set($key, $value)
    {
        $this->checkWriteAccess();
        $this->_settings[$key] = $value;
        return $this;
    }
260228
public function hidden($name = null, $value = null, $attr = null)
    {
        return $this->createInput('hidden', $name, $value, $attr);
    }
204344
public function set($value)
    {
        return (
            ($this->value = $this->clean($value, true, false)) &&
            ($this->rawValue = $value)
        );
    }
419482
public function setValue($value)
	{
		if ( is_array($value) ) {
			return $this->setSelected($value);
		}

		return $this->selectByValue((string)$value);
	}
1319769
public function setNumberOfLeadingZeros($value)
    {
        $this->hasNumberOfLeadingZeros = true;
        $this->numberOfLeadingZeros = (int) $value;
        return $this;
    }
586931
protected function setValue($value)
    {
        if (!isset($this->value) || null === $this->value) {
            $this->value = $value;
        }

        return $this;
    }
762042
public function set_content($value) {
        $this->content = clean_text($value);
        $this->dirty = true;

        return $this;
    }
1211550
public function setValue( $value ) {
		if ( strtolower( $this->tag ) === 'textarea' ) {
			$this->clearContent();
			$this->appendContent( $value );
		} else {
			$this->setAttributes( [ 'value' => $value ] );
		}
		return $this;
	}
611249
public function setKey(string $value) : Setting
    {

        if ($this->data['key'] !== $value) {
            $this->data['key'] = $value;
            $this->setModified('key');
        }

        return $this;
    }