Request Controller Filename ~
The filename of the main request controller from which MODX is loaded. Most users can leave this as index.php.

@param string $value

@return $this
333880
public function setCoreRequestController($value)
    {
        $this->setFieldName('request_controller');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
1255852
public function name(string $value = null)
    {
        if (null === $value) {
            return $this->name;
        }
        $this->name = $value;
        return $this;
    }
128477
public function setCoreXhtmlUrls($value)
    {
        $this->setFieldName('xhtml_urls');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
788406
public function request($value)
    {
        if (!isset($this->request[$value])) {
            return false;
        } else {
            return $this->request[$value];
        }
    }
311898
public function parameter(string $name, $value): HttpRequest
    {
        $this->parameters[$name] = $value;

        return $this;
    }
1295879
public function setUri(string $value) : Permission
    {

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

        return $this;
    }
709072
public function setName($value = null) {
    	if ($value !== NULL) {
    		// Old title
    		$oldTitle = $this->_name;

    		// Re-attach
    		if ($this->_worksheet !== NULL) {
    			$this->_worksheet->getParent()->removeNamedRange($this->_name,$this->_worksheet);
    		}
    		$this->_name = $value;

    		if ($this->_worksheet !== NULL) {
    			$this->_worksheet->getParent()->addNamedRange($this);
    		}

	    	// New title
	    	$newTitle = $this->_name;
	    	PHPExcel_ReferenceHelper::getInstance()->updateNamedFormulas($this->_worksheet->getParent(), $oldTitle, $newTitle);
    	}
    	return $this;
    }
442411
public function setModel(string $value) : SearchIndex
    {

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

        return $this;
    }
610280
public function setCoreRequestMethodStrict($value)
    {
        $this->setFieldName('request_method_strict');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
7396
public function setName(?string $value) : User
    {

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

        return $this;
    }
39992
public function header(string $name, $value): HttpRequest
    {
        if (!array_key_exists($name, $this->headers)) {
            $this->headers[$name] = array();
        }
        $this->headers[$name][] = $value;

        return $this;
    }
1370164
public function setFirstName(?string $value) : Contact
    {

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

        return $this;
    }
1027849
public static function proxyHost($value = null)
    {
        if (empty($value)) {
            return self::$global->getProxyHost();
        }
        self::$global->setProxyHost($value);
    }
741708
public function header($name, $value = null)
    {
        if (func_num_args() < 2) {
            return $this->request->getHeader($name);
        }
        if (is_null($value)) {
            $this->response->withoutHeader($name);
        } else {
            $this->setHeader($name, $value);
        }
        return $this;
    }
157419
public function setHeader($header, $value = NULL)
	{
		if($header instanceof HttpHeaderInterface)
		{
			$this->headers[strtolower($header->getFieldName())] = [[(string)$header->getFieldName(), trim($header->getFieldValue())]];
		}
		else
		{
			$this->headers[strtolower($header)] = [[(string)$header, trim($value)]];
		}
		
		return $this;
	}
932980
public function setRequestParam(string $name, $value): self
    {
        $this->_requestParams[$name] = $value;

        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;
    }