PATH:
home
/
lab2454c
/
keebchat.com
/
core
/
libs
/
htmlParser
/
manual
/
docs
/
api
/
simple_html_dom_node
# hasClass ```php hasClass ( string $class ) : bool ``` | Parameter | Description | --------- | ----------- | `class` | Specifies the class name to search for. Returns true if the current node has the specified class name. **Examples** ```php $node->hasClass('article'); ```
[-] childNodes.md
[edit]
[-] innertext.md
[edit]
[-] xmltext.md
[edit]
[-] firstChild.md
[edit]
[-] setAttribute.md
[edit]
[-] removeClass.md
[edit]
[-] removeAttribute.md
[edit]
[+]
..
[-] __unset.md
[edit]
[-] text.md
[edit]
[-] convert_text.md
[edit]
[-] lastChild.md
[edit]
[-] clear.md
[edit]
[-] is_utf8.md
[edit]
[-] prevSibling.md
[edit]
[-] removeChild.md
[edit]
[-] getElementById.md
[edit]
[-] get_display_size.md
[edit]
[-] parentNode.md
[edit]
[-] outertext.md
[edit]
[-] getElementsById.md
[edit]
[-] __get.md
[edit]
[-] dump.md
[edit]
[-] addClass.md
[edit]
[-] getAllAttributes.md
[edit]
[-] __isset.md
[edit]
[-] parse_selector.md
[edit]
[-] getElementByTagName.md
[edit]
[-] match.md
[edit]
[-] seek.md
[edit]
[-] __destruct.md
[edit]
[-] hasAttribute.md
[edit]
[-] prev_sibling.md
[edit]
[-] find_ancestor_tag.md
[edit]
[-] __construct.md
[edit]
[-] next_sibling.md
[edit]
[-] parent.md
[edit]
[-] nextSibling.md
[edit]
[-] getElementsByTagName.md
[edit]
[-] hasChildNodes.md
[edit]
[-] simple_html_dom_node.md
[edit]
[-] getAttribute.md
[edit]
[-] dump_node.md
[edit]
[-] makeup.md
[edit]
[-] last_child.md
[edit]
[-] __set.md
[edit]
[-] appendChild.md
[edit]
[-] has_child.md
[edit]
[-] nodeName.md
[edit]
[-] first_child.md
[edit]
[-] children.md
[edit]
[-] find.md
[edit]
[-] save.md
[edit]
[-] __toString.md
[edit]
[-] remove.md
[edit]
[-] hasClass.md
[edit]