mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-14 01:08:41 +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;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
?>
|