mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 08:51:53 +00:00
64ee756b7a
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@726 48356398-32a2-884e-a903-53898d9a118a
27 lines
507 B
PHP
27 lines
507 B
PHP
<?php
|
|
|
|
require_once 'HTMLPurifier/ConfigDef.php';
|
|
|
|
/**
|
|
* Structure object describing a directive alias
|
|
*/
|
|
class HTMLPurifier_ConfigDef_DirectiveAlias extends HTMLPurifier_ConfigDef
|
|
{
|
|
var $class = 'alias';
|
|
|
|
/**
|
|
* Namespace being aliased to
|
|
*/
|
|
var $namespace;
|
|
/**
|
|
* Directive being aliased to
|
|
*/
|
|
var $name;
|
|
|
|
function HTMLPurifier_ConfigDef_DirectiveAlias($namespace, $name) {
|
|
$this->namespace = $namespace;
|
|
$this->name = $name;
|
|
}
|
|
}
|
|
|
|
?>
|