1 | <?php |
||
15 | class Document extends \DOMDocument |
||
16 | { |
||
17 | use CommonTrait; |
||
18 | use TraversalTrait; |
||
19 | use ManipulationTrait; |
||
20 | |||
21 | 132 | public function __construct($version = null, $encoding = null) { |
|
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | 132 | public function document() { |
|
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | 132 | public function collection() { |
|
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | public function result($nodeList) { |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function parent() { |
||
62 | |||
63 | /** |
||
64 | * {@inheritdoc} |
||
65 | */ |
||
66 | public function parents() { |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | public function replaceWith($newNode) { |
||
78 | |||
79 | /** |
||
80 | * {@inheritdoc} |
||
81 | */ |
||
82 | 1 | public function getHtml() { |
|
85 | |||
86 | /** |
||
87 | * {@inheritdoc} |
||
88 | */ |
||
89 | 132 | public function setHtml($html) { |
|
117 | } |
||
118 |