Sets the html form value of the field

@access public
@param mixed $value
@param \Zepi\Turbo\Request\RequestAbstract $request
545274
public function setValue($value, RequestAbstract $request)
    {
        if ($this->maxNumberOfSelection > 1) {
            $this->value = array();
            foreach ($value as $id) {
                if (!$this->dataSourceManager->has($id)) {
                    continue;
                }
                
                $this->value[] = $this->dataSourceManager->get($id);
            }
        } else {
            if (!$this->dataSourceManager->has($value)) {
                return;
            }
            
            $this->value = $this->dataSourceManager->get($value);
        }
    }
1338860
public function setValue($value, $data = null)
    {
        $value = $this->preventHtmlParserError($value);
        return parent::setValue($value, $data);
    }
276467
function setValue($value) {
        $values = (array) $value;
        foreach ($values as $onevalue) {
            if (($this->tags || $this->ajax) &&
                    (!$this->optionExists($onevalue)) &&
                    ($onevalue !== '_qf__force_multiselect_submission')) {
                $this->addOption($onevalue, $onevalue);
            }
        }
        return parent::setValue($value);
    }
1229997
public function execute(Framework $framework, RequestAbstract $request, Response $response, $value = null)
    {
        $permissions = array();
        foreach ($value as $accessLevel) {
            $parts = explode('\\', $accessLevel);

            if ($parts[1] === 'Group' && count($parts) === 3) {
                $uuid = $parts[2];
                
                $groupPermissions = $this->accessControlManager->getPermissionsForUuid($uuid);
                if ($groupPermissions !== false) {
                    foreach ($groupPermissions as $groupPermission) {
                        $permissions[] = $groupPermission;
                    }
                }
            } else {
                $permissions[] = $accessLevel;
            }
        }
        
        $permissions = array_unique($permissions);
        
        return $permissions;
    }
1084407
public function setValue($value, $submittedValue = null)
    {
        if ($submittedValue !== null && is_array($submittedValue)) {
            $submitted = in_array($value, $submittedValue);

            if ($submitted === true) {
                $this->check();
            }
        }

        return parent::setValue($value);
    }
1118636
public function set($name, $value = null)
    {
        if ($name === 'value') {
            $value = htmlspecialchars($value);
        }
        parent::set($name, $value);

        return $this;
    }
299517
public function set_value($value) {
        if ($this->running_javascript()) {
            $id = $this->field->getAttribute('id');
            $js = <<<JS
require(["jquery"], function($) {
    var wrapper = $(document.getElementById("{$id}")).closest('[data-passwordunmask="wrapper"]');
        wrapper.find('[data-passwordunmask="edit"]').trigger("click");
});
JS;
            $this->session->executeScript($js);
        }

        $this->field->setValue($value);

        // Ensure all pending JS is finished.
        if ($this->running_javascript()) {
            // Press enter key after setting password, so we have a stable page.
            $this->field->keyDown(13);
            $this->field->keyPress(13);
            $this->field->keyUp(13);
            $this->session->wait(behat_base::get_timeout() * 1000, behat_base::PAGE_READY_JS);
        }
    }
549842
public function setValue(string $value = null) : Element
    {
        if ($value && !preg_match("@^(https?|ftp)://@", $value)) {
            $value = "http://$value";
        }
        return parent::setValue($value);
    }
1044992
public function setValue($value=null) :self {
		// append by default or replace html
		$this->attributes['value'] = Format::htmlSafe($value);
		// return self
		return($this);
	}
1336503
public static function Set($option, $value)
    {
        self::CheckBackend();

        self::$backend->Set($option, $value);
    }
105454
public function set_value($value) {

        if ($this->running_javascript()) {
            // Check on radio button.
            $this->field->click();

            // Trigger the onchange event as triggered when 'selecting' the radio.
            if (!empty($value) && !$this->field->isSelected()) {
                $this->trigger_on_change();
            }
        } else {
            // Goutte does not accept a check nor a click in an input[type=radio].
            $this->field->setValue($this->field->getAttribute('value'));
        }
    }
1325154
function setAction( $value, $params=FALSE ) {
    $this->action['value']  = $value;
    $this->action['params'] = $this->_setParams( $params );
  }
447018
public function setValue($value = null)
    {
        if (is_callable($value)) {
            $value = call_user_func($value);
        }

        $value = $this->handleJsonType($value);

        $this->value = $value;

        return $this;
    }
86101
public function setValue($value)
    {
        parent::setValue($value);
        $this->setChecked($this->form->getFieldValue($this->name) == $this->getValue());
        return $this;
    }
1001910
protected function receiveStepFieldValueFromRequest($value = Doozr_Form_Service_Constant::DEFAULT_STEP_FIRST)
    {
        $requestQueryParameter = $this->getRequest()->getQueryParams();
        $requestBody           = $this->getRequest()->getParsedBody();
        $fieldname             = $this->getFieldnameStep();

        if (true === isset($requestQueryParameter[$fieldname])) {
            // Check for passed _GET arguments from URI like: /?jump=1
            $value = $requestQueryParameter[$fieldname];
        } elseif (true === isset($requestBody[$fieldname])) {
            // Check for passed _POST arguments from request body like: &jump=1
            $value = $requestBody[$fieldname];
        }

        return $value;
    }
766191
public function setModelAttribute($value)
    {
        if (! empty($this->filteredFieldKey)) {
            parent::setModelAttribute($value);

            $this->setModelAttributeKey($this->filteredFieldKey);
            parent::setModelAttribute(
                $this->filterValue($value)
            );
        } else {
            parent::setModelAttribute(
                $this->filterValue($value)
            );
        }
    }
1114866
public function setStringValue($value = null)
    {
        if ($value !== null && ! $value instanceof \Protobuf\Stream) {
            $value = \Protobuf\Stream::wrap($value);
        }

        $this->string_value = $value;
    }