@@ -34,6 +34,9 @@ discard block |
||
| 34 | 34 | } |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | + /** |
|
| 38 | + * @param string $html |
|
| 39 | + */ |
|
| 37 | 40 | private function parsePartial( $html, $encoding ) |
| 38 | 41 | { |
| 39 | 42 | $result = $this->parseFull( '<div id="ArcPartialHTML">'.$html.'</div>', $encoding ); |
@@ -45,6 +48,9 @@ discard block |
||
| 45 | 48 | return $result; |
| 46 | 49 | } |
| 47 | 50 | |
| 51 | + /** |
|
| 52 | + * @param string $html |
|
| 53 | + */ |
|
| 48 | 54 | private function parseFull( $html ) |
| 49 | 55 | { |
| 50 | 56 | $dom = new \DomDocument(); |
@@ -7,10 +7,10 @@ |
||
| 7 | 7 | |
| 8 | 8 | class Proxy extends \arc\xml\Proxy { |
| 9 | 9 | |
| 10 | - public function __toString() { |
|
| 11 | - $dom = dom_import_simplexml($this->target); |
|
| 12 | - $result = ''.$dom->ownerDocument->saveHTML($dom); |
|
| 13 | - return $result; |
|
| 14 | - } |
|
| 10 | + public function __toString() { |
|
| 11 | + $dom = dom_import_simplexml($this->target); |
|
| 12 | + $result = ''.$dom->ownerDocument->saveHTML($dom); |
|
| 13 | + return $result; |
|
| 14 | + } |
|
| 15 | 15 | |
| 16 | 16 | } |