Backup #1
| ID | 1 |
| Dateipfad | /var/www/dev.campus.systemische-tools.de/src/Controller/DocsController.php |
| Version | 1 |
| Typ |
modified |
| Größe | 1.1 KB |
| Hash | 451dc7efb5290b5432c8055b9d619f5edcbf688e98bc6da8737be0bd415b988e |
| Datum | 2025-12-20 01:50:40 |
| Geändert von | claude-code-hook |
| Grund | Claude Code Pre-Hook Backup vor Edit-Operation |
| Datei existiert |
Ja
|
Dateiinhalt
<?php
namespace Controller;
use Framework\Controller;
use Infrastructure\Persistence\KiProtokollRepository;
class DocsController extends Controller
{
public function index(): void
{
$this->view('docs.index', [
'title' => 'Dokumentation'
]);
}
public function server(): void
{
$this->view('docs.server', [
'title' => 'Server-Dokumentation'
]);
}
public function anwendungen(): void
{
$this->view('docs.anwendungen', [
'title' => 'Anwendungen'
]);
}
public function modul(string $name): void
{
$modulFile = VIEW_PATH . '/docs/module/' . $name . '.php';
if (!file_exists($modulFile)) {
http_response_code(404);
echo '404 - Modul nicht gefunden';
return;
}
$data = ['title' => ucfirst($name)];
// Modul-spezifische Daten laden
if ($name === 'ki-protokoll') {
$repository = new KiProtokollRepository();
$data['entries'] = $repository->findLatest(20);
}
$this->view('docs.module.' . $name, $data);
}
}
Vollständig herunterladen
Aktionen
Andere Versionen dieser Datei
| ID |
Version |
Typ |
Größe |
Datum |
| 1271 |
14 |
modified |
4.1 KB |
2025-12-25 12:52 |
| 688 |
13 |
modified |
4.0 KB |
2025-12-23 07:52 |
| 611 |
12 |
modified |
4.3 KB |
2025-12-23 04:42 |
| 408 |
11 |
modified |
4.1 KB |
2025-12-22 08:59 |
| 384 |
10 |
modified |
4.3 KB |
2025-12-22 08:27 |
| 383 |
9 |
modified |
4.3 KB |
2025-12-22 08:27 |
| 382 |
8 |
modified |
4.4 KB |
2025-12-22 08:27 |
| 381 |
7 |
modified |
4.4 KB |
2025-12-22 08:27 |
| 380 |
6 |
modified |
3.5 KB |
2025-12-22 08:26 |
| 243 |
5 |
modified |
3.6 KB |
2025-12-22 01:46 |
| 242 |
4 |
modified |
3.6 KB |
2025-12-22 01:46 |
| 241 |
3 |
modified |
3.7 KB |
2025-12-22 01:46 |
| 240 |
2 |
modified |
3.8 KB |
2025-12-22 01:46 |
| 1 |
1 |
modified |
1.1 KB |
2025-12-20 01:50 |
← Zurück zur Übersicht