mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-24 09:11:52 +00:00
a2d044f58d
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1577 48356398-32a2-884e-a903-53898d9a118a
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');
|
|
}
|
|
}
|