Lines Matching refs:allowed
362 if (isset($def->allowed) && !isset($def->allowed[$value])) {
365 $this->_listify($def->allowed),
703 * @param array $allowed List of allowed namespaces/directives
708 public static function getAllowedDirectivesForForm($allowed, $schema = null) argument
713 if ($allowed !== true) {
714 if (is_string($allowed)) {
715 $allowed = array($allowed);
720 foreach ($allowed as $ns_or_directive) {
737 if ($allowed !== true) {
762 * @param array|bool $allowed List of allowed namespaces/directives
768 …public static function loadArrayFromForm($array, $index = false, $allowed = true, $mq_fix = true, … argument
770 … $ret = HTMLPurifier_Config::prepareArrayFromForm($array, $index, $allowed, $mq_fix, $schema);
780 * @param array|bool $allowed List of allowed namespaces/directives
783 public function mergeArrayFromForm($array, $index = false, $allowed = true, $mq_fix = true) argument
785 … $ret = HTMLPurifier_Config::prepareArrayFromForm($array, $index, $allowed, $mq_fix, $this->def);
795 * @param array|bool $allowed List of allowed namespaces/directives
801 …public static function prepareArrayFromForm($array, $index = false, $allowed = true, $mq_fix = tru… argument
808 $allowed = HTMLPurifier_Config::getAllowedDirectivesForForm($allowed, $schema);
810 foreach ($allowed as $key) {