mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 17:01:51 +00:00
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;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
?>
|