Add search, filters and pages to the central registry
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
821c799225
commit
7cdb431fd4
7 files changed
+158
-18
No files matched your search
@@ -34,6 +34,18 @@ final class Ansicht
|
||||
return '<input type="hidden" name="_csrf" value="'.$this->e($this->csrf).'">';
|
||||
}
|
||||
|
||||
/**
|
||||
* Eine Adresse der Übersicht; leere Werte und Seite 1 fallen weg.
|
||||
*
|
||||
* @param array<string, mixed> $werte
|
||||
*/
|
||||
public function adresse(array $werte): string
|
||||
{
|
||||
$werte = array_filter($werte, static fn (mixed $wert): bool => null !== $wert && '' !== $wert && 1 !== $wert);
|
||||
|
||||
return '/'.([] === $werte ? '' : '?'.http_build_query($werte));
|
||||
}
|
||||
|
||||
/** Ein Zeitpunkt in deutscher Ortszeit. */
|
||||
public function zeit(?string $iso): string
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user