Skip to content

Latest commit

 

History

History
198 lines (136 loc) · 2.49 KB

Element.ru.md

File metadata and controls

198 lines (136 loc) · 2.49 KB

Element

  • класс Element (php\jsoup\Element)
  • исходники php/jsoup/Element.php

Классы наследники

Document

Описание

Class Element


Методы


Методы

html()

html(string $html): string

outerHtml()

outerHtml(): string

text()

text(mixed $text): string

nodeName()

nodeName(): string

tagName()

tagName(string $tagName): string

isBlock()

isBlock(): bool

id()

id(): string

attr()

attr(mixed $attributeKey, mixed $attributeValue): $this

val()

val(string $value): string

dataset()

dataset(): array

parent()

parent(): Element

parents()

parents(): Elements

child()

child(int $index): Element

children()

children(): Elements

select()

select(string $cssQuery): Elements

addClass()

addClass(string $class): void

removeClass()

removeClass(string $class): void

hasClass()

hasClass(string $class): bool