14    public function build($interchange)
 
   17        foreach ($interchange->directives as 
$d) {
 
   24            if (
$d->allowed !== 
null) {
 
   25                $schema->addAllowedValues(
 
   30            foreach (
$d->aliases as $alias) {
 
   36            if (
$d->valueAliases !== 
null) {
 
   37                $schema->addValueAliases(
 
   43        $schema->postProcess();
 
An exception for terminatinating execution or to throw for unit testing.
Converts HTMLPurifier_ConfigSchema_Interchange to our runtime representation used to perform checks o...
Configuration definition, defines directives and their defaults.
for( $i=6;$i< 13;$i++) for($i=1; $i< 13; $i++) $d