Remove key (or keys) from config

@param string|array $Name Key name, or assoc array of keys to unset
@param bool|array $Options Bool = whether to save or not. Assoc array =
Save => Whether to save or not
761916
public function RemoveFromConfig($Name, $Options = array()) {
      $Save = $Options === FALSE ? FALSE : GetValue('Save', $Options, TRUE);
      
      if (!is_array($Name))
         $Name = array($Name);
      
      // Remove specified entries
      foreach ($Name as $k)
         $this->Remove($k, $Save);
   }
764410
public function remove($name)
    {
        if(!is_array($name))
        {
            $name = func_get_args();
        }
        foreach($name as $val)
        {
            $type = gettype($val);
            if('string' === $type)
            {
                $val = explode('.', $val);
            }
            else if('array' !== $type)
            {
                return false;
            }
            $last = array_pop($val);
            $result = &$this->data;
            foreach ($val as $value)
            {
                if (isset($result[$value]))
                {
                    $result = &$result[$value];
                }
            }
            unset($result[$last]);
        }
        return true;
    }
261396
public function offsetUnset($name)
    {
        $option = $this->findOption($name);

        if ($option instanceof Option) {
            unset($this->options[$option->getName()]);
        }
    }
926713
public function removeOption($option)
    {
        if ($this->hasOption($option)) {
            $key = array_search($option, $this->options);
            unset($this->options[$key]);
        }
    }
412396
public function removeHeader($name) {
        if (true === array_key_exists($name, $this->headers)) {
            unset($this->headers[$name]);
        }
    }
1213714
public static function setOptions(string $name, array $options)
    {
        if (isset(self::$options[$name]))
        {
            foreach(self::$options[$name] as $item)
                if ($item === $options)
                    return ;
        }
        self::$options[$name][] = $options;
    }
366295
private function removeProperty($name)
    {
        $properties = null;
        try {
            $properties = $this->getPropValue($this->getProject(), 'properties');
            if ($properties !== null) {
                unset($properties[$name]);
                $this->setPropValue($properties, $this->getProject(), 'properties');
            }
        } catch (Exception $e) {
        }
        try {
            $properties = $this->getPropValue($this->getProject(), 'userProperties');
            if ($properties !== null) {
                unset($properties[$name]);
                $this->setPropValue($properties, $this->getProject(), 'userProperties');
            }
        } catch (Exception $e) {
        }
    }
93514
public function delete(string $name, array $options = []): Cookies
	{
		$this->add($name, '', -3600, $options);

		return $this;
	}
456700
public function setCacheTemplate($name, $options)
    {
        if ($options instanceof Zend_Config) {
            $options = $options->toArray();
        } elseif (!is_array($options)) {
            // require_once 'Zend/Cache/Exception.php';
            throw new Zend_Cache_Exception('Options passed must be in'
                . ' an associative array or instance of Zend_Config');
        }
        $this->_optionTemplates[$name] = $options;
        return $this;
    }
272040
public function Remove($Name) {
      // Make sure this source' config settings are in the right format
      if (!is_array($this->Settings))
         $this->Settings = array();
      
      $Found = FALSE;
      $Keys = explode('.', $Name);
      // If splitting is off, HANDLE IT
      if (!$this->Splitting) {
         $FirstKey = GetValue(0, $Keys);
         if ($FirstKey == $this->Group)
            $Keys = array(array_shift($Keys), implode('.',$Keys));
         else
            $Keys = array($Name);
      }
      $KeyCount = count($Keys);
      $Settings = &$this->Settings;
      
      for ($i = 0; $i < $KeyCount; ++$i) {
         
         $Key = $Keys[$i];
         
         // Key will always be in here if it is anywhere at all
         if (array_key_exists($Key, $Settings)) {
            if ($i == ($KeyCount - 1)) {
               // We are at the setting, so unset it.
               $Found = TRUE;
               unset($Settings[$Key]);
               $this->Dirty = TRUE;
            } else {
               // Advance the pointer
               $Settings = &$Settings[$Key];
            }
         } else {
            $Found = FALSE;
            break;
         }
      }
      
      return $Found;
   }
1254730
public function set($name = null, $config = null) {
		if (is_array($config)) {
			$this->_configurations[$name] = $config;
			return;
		}
		if ($config === false) {
			unset($this->_configurations[$name]);
		}
	}
400495
public function removeProperty($name)
    {
        if ($this->properties->containsKey($name)) {
            $this->properties->remove($name);
        }
    }
99272
private function dontPersist($name)
    {
        $key = array_search($name, $this->persistantMap);
        if ($key !== false) {
            unset($this->persistantMap[$key]);
        }
    }
1312045
function removeCommand($name)
    {
        unset($this->commands[$name]);
        foreach ($this->groups as $key => $commands){
            foreach ($commands as $i => $c){
                if ($c[0] == $name){
                    unset($this->groups[$key][$i]);
                }
            }
        }
    }
928398
public static function save($name, $option = array())
	{
		$obj = self::getInstance($name);
		if ($obj)
		{
			return $obj->save($option);
		}
		else
		{
			return false;
		}
	}
690775
public function removeIndex($name)
    {
        //check if we have a index with this name already, then delete it
        foreach ($this->indices as $n => $idx) {
            if ($idx->getName() == $name) {
                unset($this->indices[$n]);

                return;
            }
        }
    }
518573
public function remove($name)
    {
        $this->requireNames();
        
        $lower = strtolower($name);
        if(array_key_exists($lower, $this->names)) {
            $name = $this->names[$lower];
            unset($this->names[$lower]);
            unset($this->headers[$name]);
        }
    }