You are here

public function QueryPath::removeAttr in QueryPath 6

Same name and namespace in other branches
  1. 7.3 QueryPath/QueryPath.php \QueryPath::removeAttr()
  2. 7.2 QueryPath/QueryPath.php \QueryPath::removeAttr()

File

QueryPath/QueryPath.php, line 445

Class

QueryPath

Code

public function removeAttr($name) {
  foreach ($this->matches as $m) {
    $m
      ->removeAttribute($name);
  }
  return $this;
}