Leite Vorschaubilder und Filmstufen geschuetzt ab
Deploy Test / test (push) Successful in 2m28s
Deploy Test / deploy (push) Failing after 14s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-16 09:40:59 +01:00
1 parent d6ff881e4e
commit c997eb500c
32 files changed
+979 -68

No files matched your search

+32
View File
@@ -44,6 +44,38 @@ public function explanation(): string
};
}
public function deskLabel(): string
{
return match ($this) {
self::Kombination => 'Fachliche Kombination',
self::Uebung => 'Modul',
self::Kurs => 'Programm',
};
}
public function deskExplanation(): string
{
return match ($this) {
self::Kombination => $this->explanation(),
self::Uebung => 'Ein Modul mit Lernziel, Zeit, Material und geordneten Bestandteilen. Dieselben Medien können in mehreren Modulen stecken.',
self::Kurs => 'Ein Programm aus Modulen und weiteren Inhalten.',
};
}
/**
* @return array<string, string>
*/
public static function deskOptions(): array
{
$options = [];
foreach (self::cases() as $case) {
$options[$case->value] = $case->deskLabel();
}
return $options;
}
/**
* @return array<string, string>
*/