Returns a list of array(namespace, directive) for all directives
that are allowed in a web-form context as per an allowed
namespaces/directives list.
public static getAllowedDirectivesForForm ( array $allowed, HTMLPurifier_ConfigSchema $schema = null ) : array | ||
$allowed | array | List of allowed namespaces/directives |
$schema | HTMLPurifier_ConfigSchema | Schema to use, if not global copy |
Результат | array |