mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-25 01:31:53 +00:00
14 lines
384 B
PHP
14 lines
384 B
PHP
|
<?php
|
||
|
|
||
|
class ConfigDoc_DOM_Document extends DOMDocument
|
||
|
{
|
||
|
/**
|
||
|
* Register our classes
|
||
|
*/
|
||
|
public function __construct($version = "1.0", $encoding = "UTF-8") {
|
||
|
parent::__construct($version, $encoding);
|
||
|
parent::registerNodeClass('DOMDocument', 'ConfigDoc_DOM_Document');
|
||
|
parent::registerNodeClass('DOMElement', 'ConfigDoc_DOM_Element');
|
||
|
}
|
||
|
}
|