Lines Matching refs:directive
109 $directive = new HTMLPurifier_ConfigSchema_Interchange_Directive();
112 $directive->id = $this->id($hash->offsetGet('ID'));
113 $id = $directive->id->toString(); // convenience
118 $directive->typeAllowsNull = true;
120 $directive->type = $type[0];
127 $directive->default = $this->varParser->parse(
129 $directive->type,
130 $directive->typeAllowsNull
138 $directive->description = $hash->offsetGet('DESCRIPTION');
142 $directive->allowed = $this->lookup($this->evalArray($hash->offsetGet('ALLOWED')));
146 $directive->valueAliases = $this->evalArray($hash->offsetGet('VALUE-ALIASES'));
153 $directive->aliases[] = $this->id($alias);
158 $directive->version = $hash->offsetGet('VERSION');
162 $directive->deprecatedUse = $this->id($hash->offsetGet('DEPRECATED-USE'));
166 $directive->deprecatedVersion = $hash->offsetGet('DEPRECATED-VERSION');
170 $directive->external = preg_split('/\s*,\s*/', trim($hash->offsetGet('EXTERNAL')));
173 $interchange->addDirective($directive);