Removes an attribute by it's name.
@access		public
@param		string		$name		Name of attribute
@param		string		$nsPrefix	Namespace prefix of attribute
@return		boolean
431111
public function removeAttribute( $name, $nsPrefix = NULL )
	{
		$data	= $nsPrefix ? $this->attributes( $nsPrefix, TRUE ) : $this->attributes();
		foreach( $data as $key => $attributeNode )
		{
			if( $key == $name )
			{
				unset( $data[$key] );
				return TRUE;
			}
		}
		return FALSE;
	}
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) {
        }
    }
44908
public function RemoveGlobalVariable($name, $namespace="", $header="")
    {
        if($header)
        {
            if($namespace)
            {
                unset($this->headers[$header]->namespaces[$namespace]->global_variables[$name]);
            }
            else
            {
                foreach($this->headers[$header]->namespaces as $namespace_object)
                {
                    unset($namespace_object->global_variables[$name]);
                }
            }
        }
        elseif($namespace)
        {
            foreach($this->headers as $header_object)
            {
                unset($header_object->namespaces[$namespace]->global_variables[$name]);
            }
        }
        else
        {
            foreach($this->headers as $header_object)
            {
                foreach($header_object->namespaces as $namespace_object)
                {
                    unset($namespace_object->global_variables[$name]);
                }
            }
        }
        
        return false;
    }
193315
public function removeFieldByName($name)
    {
        foreach ($this->fields as $i => $field) {
            if ($field->getName() == $name) {
                unset($this->fields[$i]);
                break;
            }
        }

        return $this;
    }
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;
    }
350926
public static function removePostFixWith($name, $fix = '/')
    {
        $position = strripos($name, $fix);

        if ($position !== false) {
            return substr($name, 0, $position);
        }

        return $name;
    }
1225088
def clearPrefix(self, prefix):
        
        if prefix in self.nsprefixes:
            del self.nsprefixes[prefix]
        return self
1104831
public function RemoveTypeDef($name, $namespace="", $header="")
    {
        if($header)
        {
            if($namespace)
            {
                unset($this->headers[$header]->namespaces[$namespace]->type_definitions[$name]);
            }
            else
            {
                foreach($this->headers[$header]->namespaces as $namespace_object)
                {
                    unset($namespace_object->type_definitions[$name]);
                }
            }
        }
        elseif($namespace)
        {
            foreach($this->headers as $header_object)
            {
                unset($header_object->namespaces[$namespace]->type_definitions[$name]);
            }
        }
        else
        {
            foreach($this->headers as $header_object)
            {
                foreach($header_object->namespaces as $namespace_object)
                {
                    unset($namespace_object->type_definitions[$name]);
                }
            }
        }
    }
1072105
public function removeChild(string $name): bool
    {
        foreach ($this->children as $key => $child) {
            if ($child->appliesTo($name)) {
                $child->removeParentPath();
                unset($this->children[$key]);
                $this->updateModifications();
                return true;
            }
        }

        return false;
    }
889667
public function removeClass($name)
    {
        foreach ($this as $node) {
            if ($node instanceof \DOMElement) {
                /** @var \DOMElement $node */
                $classes = preg_split('/\s+/s', $node->getAttribute('class'));
                $count = count($classes);
                for ($i = 0; $i < $count; $i++) {
                    if ($classes[$i] == $name) {
                        unset($classes[$i]);
                    }
                }
                $node->setAttribute('class', trim(join(' ', $classes)));
            }
        }
        return $this;
    }
1303832
public function countChildren( $nsPrefix = NULL )
	{
		$i = 0;
		foreach( $this->children( $nsPrefix, TRUE ) as $node )
			$i++;
		return $i;
	}
811359
public function removeProvider($name)
    {
        if ($this->hasProvider($name)) {
            unset($this->providers[$name]);

            return true;
        }

        return false;
    }
1190772
def _remove_prefix(name):
    """"""
    if isinstance(name, str):
        return _do_remove_prefix(name)
    return [_do_remove_prefix(nm) for nm in name]
993936
public static function RemoveClassVar ($name) {
		$name = Arrays::AdjustArray($name);
		if (Arrays::AdjustValue(static::$_ApplicationVariableTrait_ConstList, implode('=>', Arrays::AdjustArray($name)))) {
			throw CoreException::RaiseSystemError('%s is constant', [implode(' => ', $name)]);
		}
		static::$_ApplicationVariableTrait_Data = Arrays::RemoveLowest(static::$_ApplicationVariableTrait_Data, $name);
		unset(static::$_ApplicationVariableTrait_ConstList[implode('=>', Arrays::AdjustArray($name))]);
	}
193088
public function removeCustomByName($name)
    {
        if (array_key_exists($name, $this->_customByName)) {
            $element = $this->_customByName[$name];
            // Remove element
            unset($this->_customByName[$name]);
            // Be sure to delete from both arrays!
            $key = array_search($element, $this->_custom);
            unset($this->_custom[$key]);
        } else {
            require_once 'Zend/Gdata/App/InvalidArgumentException.php';
            throw new Zend_Gdata_App_InvalidArgumentException(
                'Element does not exist.');
        }
        return $this;
    }
237035
public function removeName($nameIndex)
    {
        $removed = false;
        $lines = $this->lines;
        foreach ($lines as $line) {
            if ($line->removeName($nameIndex)) {
                $removed = true;
            }
        }
        $this->sMappings = null;
        return $removed;
    }
558770
public function remove($name)
    {
        unset($this->_definitions[$name], $this->_instances[$name], $this->{$name});

        return $this;
    }