Lines Matching refs:values
13 * Expects an associative array with individual policies and their values
19 foreach ($policy as $key => $values) {
21 if (!is_array($values)) $values = explode("\n", $values);
22 $values = array_map('trim', $values);
23 $values = array_unique($values);
24 $values = array_filter($values);
25 $policy[$key] = $values;
29 foreach ($policy as $key => $values) {
30 if ($values) {
31 $cspheader .= " $key " . join(' ', $values) . ';';