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