removeClass

@param string       $from
@param string|array $value

@return static

@TODO  Use Accessors and magic call to handle all attributes.
761130
public function removeClassName($from = 'class', $value = null)
    {
        $classes = explode(' ', (string) $this->getAttribute($from));

        $value = array_diff($classes, is_string($value) ? explode(' ', $value) : $value);

        return $this->set($from, implode(' ', array_unique($value)));
    }
502718
public function removeFind(string $method, $value) : self
    {
        $list = $this->find($method, $value);
        foreach ($list as $element) {
            $this->removeInstance($element);
        }

        return $list;
    }
218335
function delete($value) {
        $key = \array_search($value, $this->data, true);
        if($key !== false) {
            unset($this->data[$key]);
        }
        
        return $this;
    }
8768
function removeOption($value)
    {
        $key=array_search($value, $this->_values);
        if ($key!==FALSE and $key!==null) {
            unset($this->_values[$key]);
        }
        foreach ($this->_options as $key=>$option){
            if ($option['attr']['value']==$value){
                unset($this->_options[$key]);
                // we must reindex the options because the ugly code in quickforms' select.php expects that keys are 0,1,2,3... !?!?
                $this->_options = array_merge($this->_options);
                return;
            }
        }
    }
1217344
public function delete($from)
    {
        $query = new Query\DeleteQuery();

        if ($this->pdo) {
            $query->setPDO($this->pdo);
        }

        return $query->from($from);
    }
316179
function removeClass(element, value) {
        var class2remove = value || "",
            cur = element.nodeType === 1 && (element.className ? (" " + element.className + " ").replace(rclass, " ") : "");
        if (cur) {
            while (cur.indexOf(" " + class2remove + " ") >= 0) {
                cur = cur.replace(" " + class2remove + " ", " ");
            }
            element.className = value ? trim(cur) : "";
        }
    }
595887
public function remove($value)
	{
		$keys = array_keys($this->items, $this->normalizeValue($value));
		foreach ($keys as $k)
		{
			unset($this->items[$k]);
		}

		$this->items = array_values($this->items);

		return count($keys);
	}
1350729
public function removeValue($value)
    {
        $i = $this->getNameByValue($value);
        if($i>=0)
        {
            $this->removeKey($i);
        }
        return $this;
    }
792775
static function delete($from)
    {
        $from = self::makeVirtualDir($from, false);
        $result = false;
        if (is_file($from)){
            @unlink($from);
            $result = true;
        }
        self::deleteVirtualDir($from);
        return $result;
    }
1045711
function(element, value) {
	if(element){
		if(typeof element.classList === 'undefined') {
			if(u._removeClass){
				u._removeClass(element, value);
			}else{
				$(element).removeClass(value);
			}

		} else {
			element.classList.remove(value);
		}
	}
	return this;
}
974022
public function removeDealerBrandVersion($value)
    {
        $targetArray = array();
        foreach ($this->getDealerBrandVersions() as $element) {
            if ($element != $value) {
                $targetArray []= $element;
            }
        }
        $this->setDealerBrandVersions($targetArray);

        return $this;
    }
721935
public static function move($from, $to)
    {
        return self::copy($from, $to) && self::delete($from);
    }
388137
public function delete($value)
    {
        $index = $this->index($value);

        if ($index !== false) {
            $this->remove($index);
        }

        return $this;
    }
800839
function removeClass(className) {
  if(!className) {
    // remove all classes from all matched elements
    this.each(function(el) {
      el.removeAttribute(attr);
    });
    return this;
  }
  var classes = className.split(/\s+/);
  this.each(function(el) {
    var val = el.getAttribute(attr);
    // no class attribute - nothing to remove
    if(!val) {
      return;
    }
    var names = val.split(/\s+/);
    names = names.filter(function(nm) {
      return ~classes.indexOf(nm) ? false : nm;
    });
    el.setAttribute(attr, names.join(' '));
  });
  return this;
}
599783
function(from, to) {
        var classes = ($(from).attr('class') || '').replace(this.options.filterClasses, '').trim();

        if (classes) {
            $(to).addClass(classes);
        }
    }
482523
protected function useClass($toClassName, $fromClassname)
    {
        $this->toClassName   = $toClassName;
        $this->fromClassname = $fromClassname;
        return $this;
    }
264987
public function delete($from)
    {
        $commandClass = $this->getCommandClass('delete');
        $this->command = new $commandClass($from);

        return $this->command;
    }