mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-25 09:41:52 +00:00
27 lines
505 B
PHP
27 lines
505 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;
|
||
|
}
|
||
|
}
|
||
|
|