Sort Field of Contexts in Resource Tree ~
The field to sort Contexts by in the Resources tree, if sorting is enabled.

@param string $value

@return $this
346369
public function setCoreContextTreeSortby($value)
    {
        $this->setFieldName('context_tree_sortby');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
447543
public function setCoreTreeRootId($value)
    {
        $this->setFieldName('tree_root_id');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
880104
public function setCoreManagerLangAttribute($value)
    {
        $this->setFieldName('manager_lang_attribute');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
518144
public function affect($value)
    {
        $i = Collection::count(self::$colmuns) - 1;
        self::$colmuns[$i] .= " default '".$value."'";
        //
        return $this;
    }
134887
public function setValue( $value )
    {
        if ( $value instanceof Traversable )
        {
            $value = ArrayUtils::iteratorToArray( $value );
        }

        return parent::setValue( (array) $value );
    }
958342
public function setCoreEnableDragdrop($value)
    {
        $this->setFieldName('enable_dragdrop');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
1071940
public function setWord(string $value) : SearchIndex
    {

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

        return $this;
    }
1062600
public function delete($value)
    {
        foreach (array_keys($this->collection, $value, true) as $key) {
            unset($this->collection[$key]);
        }

        return $this;
    }
1250642
public function setCoreLocale($value)
    {
        $this->setFieldName('locale');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
848862
public function setValue($value): FieldTypeInterface
    {
        parent::setValue($value);

        if ($this->getValue()) {
            // The value is only set on the field when it fails
            // or when the option "flush" is set to "false".
            // If true, let's automatically add the "checked" attribute.
            $this->options['attributes']['checked'] = 'checked';
        }

        return $this;
    }
586931
protected function setValue($value)
    {
        if (!isset($this->value) || null === $this->value) {
            $this->value = $value;
        }

        return $this;
    }
454283
public function setCorePhpthumbAllowSrcAboveDocroot($value)
    {
        $this->setFieldName('phpthumb_allow_src_above_docroot');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
202362
public function setCoreCacheLexiconTopics($value)
    {
        $this->setFieldName('cache_lexicon_topics');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
1062257
public function value($value)
    {
        // Set the value using parent, so that if there is already one specified
        // from populate or POST
        parent::value($value);

        // Set the value of the subfields
        $this->date->value($value);
        $this->time->value($value);

        // Chainable
        return $this;
    }
656602
public function byValue(array $value): SortBy
    {
        if (
            self::SCORE !== $value &&
            self::RANDOM !== $value
        ) {
            $value['type'] = $value['type'] ?? self::TYPE_FIELD;
        }

        $this->sortsBy[] = $value;

        return $this;
    }
74893
public function setValue($value)
    {
        if (is_array($value)) {
            foreach ($value as $childKey => $childValue) {
                $this->children[$childKey] = new static($childValue);
            }
            $this->value = null;
        } else {
            $this->value = $value;
            $this->children = array();
        }
        return $this;
    }
439150
public function context($context, $value = null)
    {
        if (! is_array($context)) {
            $context = [$context => $value];
        }

        foreach ($context as $key => $value) {
            $this->context[$key] = $value;
        }

        return $this;
    }