class final readonly Optionnel · pdftoolkit/html-to-pdf 0.4.0
PDF\HtmlToPdf\Model\NodeHéritage et contrats
Ce type ne déclare pas de parent, d’interface ou de trait.
Construction
__construct()
public function __construct(string $id, string $tag, array $attributes = [], array $children = [], string $text = '', PDF\HtmlToPdf\Style\ComputedStyle $style = new ComputedStyle())@param array<string,string> $attributes
@param list<Node> $childrenMéthodes déclarées
attribute()
public function attribute(string $name): ?stringisText()
public function isText(): boolPropriétés
| Déclaration | Provenance et documentation |
|---|---|
public readonly array $attributes | PDF\HtmlToPdf\Model\Node |
public readonly array $children | PDF\HtmlToPdf\Model\Node |
public readonly string $id | PDF\HtmlToPdf\Model\Node |
public readonly PDF\HtmlToPdf\Style\ComputedStyle $style | PDF\HtmlToPdf\Model\Node |
public readonly string $tag | PDF\HtmlToPdf\Model\Node |
public readonly string $text | PDF\HtmlToPdf\Model\Node |