1 | <?php |
||
10 | abstract class HtmlUtils |
||
11 | { |
||
12 | 11 | public static function htmlXPath(\DOMDocument &$DOMDocument, $html, $xpathQuery) |
|
44 | |||
45 | /** |
||
46 | * Add HTML wrapper to content if an XML string does not exist. |
||
47 | * |
||
48 | * @param string $html |
||
49 | * |
||
50 | * @return string |
||
51 | */ |
||
52 | 11 | private static function normalizeHTML($html) |
|
61 | } |
||
62 |