Lines Matching refs:toggleAttribute
2 DOMElement::toggleAttribute()
14 var_dump($html->documentElement->toggleAttribute("\0"));
21 var_dump($html->documentElement->toggleAttribute("SELECTED", false));
23 var_dump($html->documentElement->toggleAttribute("SELECTED"));
25 var_dump($html->documentElement->toggleAttribute("selected", true));
27 var_dump($html->documentElement->toggleAttribute("selected"));
32 var_dump($xml->documentElement->toggleAttribute("SELECTED", false));
34 var_dump($xml->documentElement->toggleAttribute("SELECTED"));
36 var_dump($xml->documentElement->toggleAttribute("selected", true));
38 var_dump($xml->documentElement->toggleAttribute("selected"));
44 var_dump($html->documentElement->toggleAttribute("id"));
53 var_dump($dom->documentElement->toggleAttribute('xmlns'));
55 var_dump($dom->documentElement->toggleAttribute('xmlns:anotherone'));
57 var_dump($dom->documentElement->toggleAttribute('xmlns:anotherone'));
59 var_dump($dom->documentElement->toggleAttribute('xmlns:foo'));
61 var_dump($dom->documentElement->toggleAttribute('xmlns:nope', false));
65 var_dump($dom->documentElement->toggleAttribute('test:test'));
66 var_dump($dom->documentElement->firstElementChild->toggleAttribute('foo:test'));
67 var_dump($dom->documentElement->firstElementChild->toggleAttribute('doesnotexist:test'));
68 var_dump($dom->documentElement->firstElementChild->toggleAttribute('doesnotexist:test2', false));
79 var_dump($dom->documentElement->toggleAttribute('test:test'));
80 var_dump($dom->documentElement->firstElementChild->toggleAttribute('foo:test'));
81 var_dump($dom->documentElement->firstElementChild->toggleAttribute('doesnotexist:test'));
82 var_dump($dom->documentElement->firstElementChild->toggleAttribute('doesnotexist:test2', true));
83 var_dump($dom->documentElement->firstElementChild->toggleAttribute('doesnotexist:test3', false));