public static function format(array $values) { $range = array(); foreach ($values as $rid) { $value = Rid::format(array($rid)); if ($value) { $range[] = $value; } } $range = array_slice($range, 0, 2); return count($range) ? "RANGE " . implode(' ', $range) : null; }
public static function format(array $values) { $rid = parent::format($values); return $rid ? "#" . $rid : null; }