Source: src/Controllers/AdminModerationController.php
Overview
No class-level docblock. Add one at the top of the file.
Extends: App\Controllers\BaseController
Public methods
index(): void
List reports with filters and pagination.
show(string $id): void
Show report detail with action panel.
warn(string $id): void
Action 1: Warn the reported user.
suspend(string $id): void
Action 2: Suspend the reported user for N days.
ban(string $id): void
Action 3: Permanently ban the reported user.
shadowBan(string $id): void
Action 3: Shadow ban the reported user (silent — no email to user).
bulkDismiss(): void
Bulk-dismiss selected reports with a shared reason. Expects report_ids[] and dismiss_reason in the POST body. Skips any id that isn't in status=open / in_progress so already-resolved rows aren't double-stamped. Audit-logs one row per report.
dismiss(string $id): void
Undocumented.
resolveEscalation(string $id): void
Resolve a forum escalation with a determination that is shared with the escalating moderator. Posts the notes back to the escalation thread and sends the reporter an in-app notification with the note.
showFileReport(string $id): void
Show file report detail.
dismissFileReport(string $id): void
Dismiss a file report (no action on the file).
removeReportedFile(string $id): void
Remove the reported file (delete from disk and database).
rejectReportedFile(string $id): void
Reject the reported file (change status to rejected, keep on disk).
Auto-generated from source by bin/sync-class-docs.php on 2026-04-18 12:16 CDT. Re-runs overwrite this thread body.
. __ ____ ___ ____ _ _
/ /_| ___| / _ \___ \(_)___| |__
| '_ \___ \| | | |__) | / __| '_ \
| (_) |__) | |_| / __/| \__ \ | | |
\___/____/ \___/_____|_|___/_| |_|
D2sk - Sysop