Conditions | 4 |
Paths | 4 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | public function run($value, $pseudoArgs, $element) { |
||
13 | foreach ($this->content->getNode($value, $element->ownerDocument) as $node) { |
||
14 | if ($this->insertLocation === "before") $element->insertBefore($node, $element->firstChild); |
||
15 | else if ($this->insertLocation === "after") $element->appendChild($node); |
||
16 | } |
||
17 | } |
||
18 | } |
||
19 |