2007-02-05 03:22:32 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once 'HTMLPurifier/ConfigDef.php';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Structure object describing a directive alias
|
|
|
|
*/
|
|
|
|
class HTMLPurifier_ConfigDef_DirectiveAlias extends HTMLPurifier_ConfigDef
|
|
|
|
{
|
2007-11-25 02:24:39 +00:00
|
|
|
public $class = 'alias';
|
2007-02-05 03:22:32 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Namespace being aliased to
|
|
|
|
*/
|
2007-11-25 02:24:39 +00:00
|
|
|
public $namespace;
|
2007-02-05 03:22:32 +00:00
|
|
|
/**
|
|
|
|
* Directive being aliased to
|
|
|
|
*/
|
2007-11-25 02:24:39 +00:00
|
|
|
public $name;
|
2007-02-05 03:22:32 +00:00
|
|
|
|
2007-11-25 02:24:39 +00:00
|
|
|
public function HTMLPurifier_ConfigDef_DirectiveAlias($namespace, $name) {
|
2007-02-05 03:22:32 +00:00
|
|
|
$this->namespace = $namespace;
|
|
|
|
$this->name = $name;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|