Set the content value for this step.

@param   string      $value      The new content to use.
@return  $this
762042
public function set_content($value) {
        $this->content = clean_text($value);
        $this->dirty = true;

        return $this;
    }
971355
public function setRootCreated( $value )
    {
        $content = $this->getDependentContent();

        if ( $content )
        {
            $content->created = $value;
        }

        return $this;
    }
1298783
public function setCoreSiteStatus($value)
    {
        $this->setFieldName('site_status');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
28486
public function set($value = null, $junk = null)
    {
        if ($this->field) {
            $this->field->set($value);

            return $this;
        }

        $this->content = $value;

        return $this;
    }
1167852
public function set($value = null)
    {
        $this->owner->set($this->short_name, $value);

        return $this;
    }
331351
public function setHidden(?int $value) : Setting
    {

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

        return $this;
    }
990138
public function setRootUserId( $value )
    {
        $content = $this->getDependentContent();

        if ( $content )
        {
            $content->userId = $value;
        }

        return $this;
    }
796613
public function append(string $key, $value)
    {
        $this->content->put($key, $value);

        return $this;
    }
325866
public function setScope(string $value) : Setting
    {

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

        return $this;
    }
1344257
public function setContent(\AgentSIB\Diadoc\Api\Proto\Content_v2 $value = null)
    {
        $this->Content = $value;
    }
128477
public function setCoreXhtmlUrls($value)
    {
        $this->setFieldName('xhtml_urls');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
1287343
public function setCoreServerProtocol($value)
    {
        $this->setFieldName('server_protocol');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
1337774
public function setAddition($value)
    {
        if (!isset($this->data->amount->subtotals)) {
            $this->data->amount->subtotals = new stdClass();
        }
        $this->data->amount->subtotals->addition = (float) $value;

        return $this;
    }
356422
public function setTotal($value)
    {
        if (!StaticValidator::isValid('number', $value)) {
            return $this;
        }

        $this->_total = StaticFilter::filter('number',$value);
        $this->_pages = ceil($this->_total / $this->_rowsPerPage);
        return $this;
    }
344427
public function setValue( $value ) {
		$this->value = $this->cleanUpValue( $value );
		// Deselect all options
		foreach ( $this->fields as $field ) {
			$field->getField()->setSelected( false );
		}
		// Select the requested ones
		foreach ( $this->value as $key ) {
			$this->fields[ $key ]->getField()->setSelected( true );
		}
		return $this;
	}
1106241
public function setValue($value) : self
    {
        if (is_bool($value)) {
            $value = ($value == true) ? '1' : '0';
        }

        $this->field->addAttribute('value', !is_null($value) ? (string) $value : '');

        return $this;
    }
362751
public function setValue(string $value = null) : Element
    {
        $this->value = $value;
        if (isset($this->model)) {
            $this->model->{$this->attributes['name']} = $value;
        }
        return $this;
    }