Lines Matching refs:record
16 * @param string $record This is the current row value to be modified
22 public static function updateTuple(string $record, int|string $key, int $count): string argument
24 if ($record != '') {
26 $record = preg_replace('/(^|:)' . preg_quote($key, '/') . '(\*\d+)?/', '', $record);
28 $record = trim($record, ':');
32 if ($record !== '') {
33 return "$tuple:" . $record;
38 return $record;
46 * @param string $record The row value to parse
50 public static function aggregateTupleCounts(string $record): int argument
53 $parts = explode(':', $record);
79 * @param string $record The row value to parse
85 public static function parseTuples(string $record, ?array $filtermap = null): array argument
88 if ($record == '') return $result;
89 $parts = explode(':', $record);