- класс
Elements
(php\jsoup\Elements
) - исходники
php/jsoup/Elements.php
Описание
Class Elements
->
text()
->
hasText()
->
html()
->
outerHtml()
->
attr()
->
hasAttr()
->
removeAttr()
->
addClass()
->
removeClass()
->
hasClass()
->
toggleClass()
->
val()
->
prepend()
->
append()
->
before()
->
after()
->
select()
->
first()
->
last()
->
not()
->
is()
->
parents()
text(): string
hasText(): bool
html(string $html): string
outerHtml(): string
attr(string $attributeKey, mixed $value): string|$this
hasAttr(string $attributeKey): bool
removeAttr(string $attributeKey): Elements
addClass(string $class): Elements
removeClass(string $class): Elements
hasClass(string $class): bool
toggleClass(string $class): bool
val(string $value): $this
prepend(string $html): Elements
append(string $html): Elements
before(string $html): Elements
after(string $html): Elements
select(string $query): Elements
first(): Element
last(): Element
not(string $query): Elements
is(string $query): bool
parents(): Elements