Lines Matching refs:array
19 // split any combined values + convert from array to comma separated string
53 // convert from comma separated list into array + combine complimentary actions
75 // remove this action from the disabledactions array
107 * convert comma separated list to an array and combine any complimentary values
110 * @return array
114 $array = explode(',', $str);
120 if (($idx[] = array_search($val, $array)) === false) break;
124 foreach ($idx as $i) unset($array[$i]);
125 $array[] = $key;
130 return $array;
134 * convert array of values + other back to a comma separated list, incl. splitting any combined values
136 * @param array $input
147 $array = array_unique(array_merge($input, $other));
152 $idx = array_search($key, $array);
154 unset($array[$idx]);
155 $array = array_merge($array, $combinators);
160 return implode(',', array_unique($array));