Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
pQuery
DomNode
filter_hastext
pQuery\DomNode::filter_hastext PHP Method
DomNode Class Documentation
Mostra file
Open project: tburry/pquery
filter_hastext()
protected
method
Checks if node matches css query filter ":has-text"
See also:
match()
protected
filter_hastext
( ) :
boolean
return
boolean
protected function filter_hastext() { return $this->getPlainText() !== ''; }
DomNode
__construct
__destruct
__get
__invoke
__isset
__set
__toString
__unset
addASP
addAttribute
addCDATA
addChild
addClass
addComment
addConditional
addDoctype
addText
addXML
after
append
attr
attributeCount
before
changeParent
childCount
clear
count
createNode
createNodes
delete
deleteAttribute
deleteChild
detach
dumpLocation
filter_checked
filter_comment
filter_contains
filter_element
filter_empty
filter_even
filter_every
filter_first
filter_firsttype
filter_gt
filter_has
filter_hastext
filter_lang
filter_last
filter_lasttype
filter_lt
filter_nchild
filter_nlastchild
filter_nlastype
filter_not
filter_notempty
filter_notext
filter_ntype
filter_odd
filter_onlychild
filter_onlytype
filter_root
filter_selected
filter_text
findAttribute
findChild
firstChild
getAttribute
getAttributeNS
getChild
getChildrenByAttribute
getChildrenByCallback
getChildrenByClass
getChildrenByID
getChildrenByMatch
getChildrenByName
getChildrenByTag
getEncoding
getInnerText
getNamespace
getNextSibling
getOuterText
getPlainText
getPlainTextUTF8
getPreviousSibling
getRoot
getSibling
getTag
hasAttribute
hasChild
hasClass
hasParent
html
indent
index
insertChild
isComment
isParent
isText
isTextOrComment
lastChild
match
match_attributes
match_filters
match_tags
move
moveChildren
prepend
prop
query
remove
removeAttr
removeClass
replaceWith
select
setAttribute
setAttributeNS
setIndex
setInnerText
setNamespace
setOuterText
setPlainText
setTag
tagName
text
toString
toString_attributes
toString_content
toggleClass
typeIndex
unwrap
val
wrap
wrapInner