25 lines
451 B
PHP
25 lines
451 B
PHP
<?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;
|
|
}
|
|
}
|
|
|