Element¶
-
php\jsoup\Element
abstract class
Methods
html
($html)¶
Parameters:
- $html – string - (optional)
Returns: string
text
()¶
Returns: string
nodeName
()¶
Returns: string
tagName
($tagName)¶
Parameters:
- $tagName – string - (optional)
Returns: string
isBlock
()¶
Returns: bool
id
()¶
Returns: string
attr
($attributeKey, $attributeValue)¶
Parameters:
- $attributeKey –
- $attributeValue –
- (optional)
Returns: php\jsoup\$this
dataset
()¶
Returns: array
parent
()¶
Returns: php\jsoup\Element
parents
()¶
Returns: php\jsoup\Elements
child
($index)¶
Parameters:
- $index – int
Returns:
children
()¶
Returns: php\jsoup\Elements
select
($cssQuery)¶
Parameters:
- $cssQuery – string
Returns: