Source: src/Controllers/AdminMarketplaceController.php
Overview
No class-level docblock. Add one at the top of the file.
Extends: App\Controllers\BaseController
Public methods
index(): void
GET /admin/marketplace — index of active + flagged listings. Filters via ?tab=flagged|removed|reports|recent. Defaults to "flagged" when there are flagged listings waiting, otherwise "reports" if there are open user reports, otherwise "recent".
flag(string $id): void
POST /admin/marketplace/{id}/flag — mark for review.
remove(string $id): void
POST /admin/marketplace/{id}/remove — hide listing from everyone but the seller + admins. Does not delete the row.
clearModeration(string $id): void
POST /admin/marketplace/{id}/clear-moderation — reinstate.
banUser(): void
POST /admin/marketplace/ban-user — ban a user from the marketplace.
unbanUser(string $id): void
POST /admin/marketplace/unban-user — lift a marketplace ban.
Auto-generated from source by bin/sync-class-docs.php on 2026-04-21 09:56 CDT. Re-runs overwrite this thread body.
. __ ____ ___ ____ _ _
/ /_| ___| / _ \___ \(_)___| |__
| '_ \___ \| | | |__) | / __| '_ \
| (_) |__) | |_| / __/| \__ \ | | |
\___/____/ \___/_____|_|___/_| |_|
D2sk - Sysop