Lines Matching refs:value
26 foreach ($toPrint as $key => $value) {
27 if (is_array($value)) {
29 self::formatAsHtmlList($value, $content);
32 if (preg_match('/date|created|modified/i', $key) && is_numeric($value)) {
33 $value = date(DATE_ATOM, $value);
35 $stringValue = var_export($value, true);
51 foreach ($array as $key => &$value) {
55 if (is_array($value)) {
56 self::filterArrayByKey($value, $pattern);
61 public static function addIfNotSet(array &$array, $key, $value)
64 $array[$key] = $value;
86 * @param array|string $value - the value to return as a flat array
88 public static function toFlatArray(array &$flatArray, $value)
90 if (is_array($value)) {
91 foreach ($value as $subImageValue) {
95 $flatArray[] = $value;