Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
FluentDOM
Query
parent
FluentDOM\Query::parent PHP Method
Query Class Documentation
Show file
Open project: fluentdom/fluentdom
parent()
public
method
Get a set of elements containing the unique parents of the matched set of elements.
public
parent
( ) :
Query
return
Query
public function parent() { return $this->fetch('parent::*', NULL, NULL, Fetcher::UNIQUE); }
Query
__call
__get
__isset
__set
__unset
add
addBack
addClass
after
andSelf
append
appendTo
apply
applyToSelector
applyToSpawn
attr
before
build
changeClassString
children
cloneNodes
closest
content
contents
css
data
emptyNodes
eq
filter
first
get
getFirstElement
getGroupedNodes
getNamesList
getSetterValues
has
hasAttr
hasClass
hasData
html
insertAfter
insertBefore
is
last
map
modify
next
nextAll
nextUntil
not
outerContent
outerHtml
outerXml
parent
parents
parentsUntil
prepend
prependTo
prev
prevAll
prevUntil
remove
removeAttr
removeClass
removeData
replaceAll
replaceWith
reverse
siblings
slice
text
toggleClass
wrap
wrapAll
wrapGroupedNodes
wrapInner
wrapNodes
xml