Allow root ~
Do you want to allow your users to create new Resources in the root of the site?

@param bool $value

@return $this
437644
public function setCoreUdpermsAllowroot($value)
    {
        $this->setFieldName('udperms_allowroot');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
669218
public function setCoreAllowManagerLoginForgotPassword($value)
    {
        $this->setFieldName('allow_manager_login_forgot_password');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
856673
public function setCoreSiteName($value)
    {
        $this->setFieldName('site_name');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
1234993
public function setCoreUserNavParent($value)
    {
        $this->setFieldName('user_nav_parent');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
772197
public function setValue($value) {
        switch ($this->type) {
            case self::TYPE_BOOLEAN:
                $this->value = (bool) $value;
                break;
            case self::TYPE_STRING:
                $this->value = (string) $value;
                break;
        }
        return $this;
    }
288316
public function setNewValue($value)
    {
        if ((!$this->disablePurifier) && $value && is_string($value)) {
            $value = Purifier::clean($value, $this->purifierConfig);
        }

        $this->newValue = $value;

        return $this;
    }
1291434
public function setPlaceholder($value = false)
    {
        // par default on met la valeur du champs
        if ($value === false) {
            $value = $this->getLabel();
        }

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

        return $this;
    }
646104
public function setIsBlocked(int $value) : Contact
    {

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

        return $this;
    }
1144563
public function setAllowPublicStatus($value)
    {
        $this->_validateNotNull('AllowPublicStatus', $value);
        $this->_validateInt('AllowPublicStatus', $value);

        if ($this->data['allow_public_status'] === $value) {
            return;
        }

        $this->data['allow_public_status'] = $value;

        $this->_setModified('allow_public_status');
    }
472937
public function addConstructorValue($value)
    {
        $endPoint = &$this->getEndPoint();
        if (!isset($endPoint['args'])) {
            $endPoint['args'] = [];
        }
        $endPoint['args'][] = ['type' => 'value', 'item' => $value];

        return $this;
    }
61680
public function showDisabled($value = true)
    {
        $this->sources[self::KEY_DISABLED] = (boolean) $value;
        return $this;
    }
341564
public function setMode($value)
    {
        if ($value !== null &&
           $value !== self::MODE_DIALOG &&
           $value !== self::MODE_SRTR) {
            throw new DomainError('Invalid mode');
        }
        $this->parameters['mode'] = $value;
        return $this;
    }
1106078
public function setCoreModxBrowserTreeHideFiles($value)
    {
        $this->setFieldName('modx_browser_tree_hide_files');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
1045723
public function setCoreManagerLoginUrlAlternate($value)
    {
        $this->setFieldName('manager_login_url_alternate');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
189678
public function setIsApproved($value)
    {
        if ($value === null || $value === '') {
            $this->approved = null;
        } else {
            $this->approved = (bool) $value;
        }

        return $this;
    }
74083
public function setCoreFeedModxNewsEnabled($value)
    {
        $this->setFieldName('feed_modx_news_enabled');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }