Set the name of the tour to the specified value.

@param   string      $value      The new name.
@return  $this
334709
public function set_name($value) {
        $this->name = clean_param($value, PARAM_TEXT);
        $this->dirty = true;

        return $this;
    }
886400
public function setLastName(?string $value) : Contact
    {

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

        return $this;
    }
60481
public function setCompany(?string $value) : Contact
    {

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

        return $this;
    }
405198
public function setTitle(?string $value) : Contact
    {

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

        return $this;
    }
220768
public function set($name, $value)
  {
    if (is_null($value)) {
      unset($this->vars[$name]);
    } else {
      $this->vars[$name] = $value;
    }

    return $this;
  }
247654
public function setCoreSessionName($value)
    {
        $this->setFieldName('session_name');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
216353
public function setTo($value)
    {
        if (is_array($value)) {
            $value = new Person($value);
        }
        return $this->setParameter('to', $value);
    }
7396
public function setName(?string $value) : User
    {

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

        return $this;
    }
423761
protected function setValue($value)
    {
        if (is_string($value)) {
            $this->value = $value;
        } else {
            throw new \InvalidArgumentException(
                "Invalid type '" . gettype($value). "' for argument 'value' given."
            );
        }

        return $this;
    }
86916
public function setMigrationName(?string $value) : Migration
    {

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

        return $this;
    }
1164945
protected function setValue($value)
    {
        if (is_string($value)) {
            $value = trim($value);
            if ($value !== "") {
                $this->value = $value;
            } else {
                throw new \InvalidArgumentException("Invalid value for argument 'value' given.");
            }
        } else {
            throw new \InvalidArgumentException(
                "Invalid type '" . gettype($value) . "' for argument 'value' given. String expected."
            );
        }

        return $this;
    }
1279569
public function set($name, $value)
    {
        $configuration = $this->configuration->getParameter('configuration');
        $configuration[$name] = $value;
        $this
            ->configuration
            ->setParameter(
                'configuration',
                $configuration
            );

        return $this;
    }
207951
public function set_tourid($value) {
        $this->tourid = $value;
        $this->tour = null;
        $this->dirty = true;

        return $this;
    }
144959
public function setTitle($value)
    {
        $current_title = array_get($this->data, 'title', '');
        $this->data['title'] = $value;
        if (array_get($this->data, 'nickname', '') == $current_title) {
            $this->nickname = $value;
        }

        return $this;
    }
531344
public function setName( $value )
	{
		if ( $value == $this->getName() ) { return; }

		$this->_values['name'] = (string) $value;
		$this->setModified();
	}
1306147
public function setValue($value)
    {

        if (isset($this->element)) {
            $this->element->setValue($value);
        }

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

        return $this;
    }