Piotr Labudda %!s(int64=9) %!d(string=hai) anos
pai
achega
773b728c95
Modificáronse 1 ficheiros con 13 adicións e 0 borrados
  1. 13 0
      SE/se-lib/V.php

+ 13 - 0
SE/se-lib/V.php

@@ -529,4 +529,17 @@ EOF';
 		return $netto;
 	}
 
+	public static function pickSimgleValue($items, $fieldName) {
+		return array_map(
+			function ($row) use ($fieldName) {
+				return V::get($fieldName, '', $row);
+			}
+			, $items
+		);
+	}
+
+	public static function pickArrayValues($items, $fieldNames) {
+		return $items;
+	}
+
 }