You are here

function simple_html_dom_node::setAttribute in simplehtmldom API 6

Same name and namespace in other branches
  1. 5.2 simplehtmldom/simple_html_dom.php \simple_html_dom_node::setAttribute()
  2. 7 simplehtmldom/simple_html_dom.php \simple_html_dom_node::setAttribute()

File

simplehtmldom/simple_html_dom.php, line 464

Class

simple_html_dom_node

Code

function setAttribute($name, $value) {
  $this
    ->__set($name, $value);
}