function simple_html_dom_node::__isset in simplehtmldom API 7
Same name and namespace in other branches
- 5.2 simplehtmldom/simple_html_dom.php \simple_html_dom_node::__isset()
- 6 simplehtmldom/simple_html_dom.php \simple_html_dom_node::__isset()
1 call to simple_html_dom_node::__isset()
- simple_html_dom_node::hasAttribute in simplehtmldom/
simple_html_dom.php
File
- simplehtmldom/
simple_html_dom.php, line 446
Class
Code
function __isset($name) {
switch ($name) {
case 'outertext':
return true;
case 'innertext':
return true;
case 'plaintext':
return true;
}
//no value attr: nowrap, checked selected...
return array_key_exists($name, $this->attr) ? true : isset($this->attr[$name]);
}