Hide From Menus Default ~
Select 'Yes' to make all new resources hidden from menus by default.

@param bool $value

@return $this
429755
public function setCoreHidemenuDefault($value)
    {
        $this->setFieldName('hidemenu_default');
        $this->loadObject(true);
        $this->setFieldValue($value);

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

        return $this;
    }
271494
public function removeDealerAdminId($value)
    {
        $targetArray = array();
        foreach ($this->getDealerAdminIds() as $element) {
            if ($element != $value) {
                $targetArray []= $element;
            }
        }
        $this->setDealerAdminIds($targetArray);

        return $this;
    }
961836
public function set($key, $value)
    {
        if (is_null($value)) {
            $value = 'NULL';
        } else if (is_bool($value)) {
            $value = $value ? 'TRUE' : 'FALSE';
        }
        
        $this->set[$key] = $value;
        
        return $this;
    }
1178404
public function remove($value) {
		
		if($this->_ReadOnly){
			throw new ReadOnlyException(\get_called_class() . ' is read only');
		}
		
		if(($key = \array_search($value, $this->_Arr)) !== false){
			\array_splice($this->_Arr, $key, 1);
		}
		
		return $this;
		
	}
1021201
public function onChange($value = null)
    {
        if (func_num_args()) {
            $this->onChange = $value;
            return $this;
        }
        return $this->onChange;
    }
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;
	}
103925
public function setCorePreserveMenuindex($value)
    {
        $this->setFieldName('preserve_menuindex');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
1315494
public function removeOptionByValue($value)
    {
        // walk all options
        $options = $this->options;

        // Empty options;
        $this->options = [];

        foreach ($options as $option) {
            if ($option instanceof Option) {
                if ($option->getValue() != $value) {
                    $this->options[] = $option;
                }
            } else {
                if ($option instanceof Optgroup) {
                    $subOptions = [];
                    $options2 = $option->getOptions();
                    foreach ($options2 as $option2) {
                        if ($option2->getValue() != $value) {
                            $subOptions[] = $option2;
                        }
                    }

                    $option->setOptions($subOptions);

                    if (sizeof($subOptions) > 0) {
                        $this->options[] = $option;
                    }
                }
            }
        }

        return $this;
    }
358865
public function setCorePhpthumbNohotlinkEnabled($value)
    {
        $this->setFieldName('phpthumb_nohotlink_enabled');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
711423
public function set($property, $value)
    {
        // we need to convert booleans into string, because these are query parameters
        if (is_bool($value)) {
            $value = $value
                ? 'true'
                : 'false';
        }

        $this->container[$property] = $value;

        return $this;
    }
222707
public function setCorePublishDefault($value)
    {
        $this->setFieldName('publish_default');
        $this->loadObject(true);
        $this->setFieldValue($value);

        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;
    }
456471
public function setIsCurrent($value)
    {
        if ($value) {
            $this->current = true;
        } else {
            $this->current = null;
        }

        return $this;
    }
1347184
public function &polymorph($value = true)
    {
        $this->polymorph = (bool) $value;

        if ($this->polymorph) {
            $this->addTrait(PolymorphInterface::class, PolymorphInterfaceImplementation::class);
        }

        return $this;
    }
45677
public function setUnloadDoctrineEveryTick($value)
    {
        $this->unloadDoctrineEveryTick = max(0, (int) $value);
        $this->ticksUntilUnload = $this->unloadDoctrineEveryTick ?: null;

        return $this;
    }
218335
function delete($value) {
        $key = \array_search($value, $this->data, true);
        if($key !== false) {
            unset($this->data[$key]);
        }
        
        return $this;
    }