0
OP New Sysop Apr 18, 2026 12:03pm (edited 32x) view history

Source: src/Controllers/ProfileController.php

Overview

No class-level docblock. Add one at the top of the file.

Extends: App\Controllers\BaseController

Public methods

showProfile(string $username): void

Show a user's public profile with friend/block/message actions.

togglePin(): void

Toggle pinning a thread to the user's profile (max 3).

editProfile(): void

Show the profile edit form.

changeUsername(): void

POST /account/change-username — paid username change (1000 credits, 1 per 365 days). Lives separately from /profile/edit because the privilege, rate limit, and tx semantics are different.

updateProfile(): void

Undocumented.

uploadAvatar(): void

AJAX avatar upload.


Auto-generated from source by bin/sync-class-docs.php on 2026-04-21 16:28 CDT. Re-runs overwrite this thread body.


. __  ____   ___ ____  _     _     
 / /_| ___| / _ \___ \(_)___| |__  
| '_ \___ \| | | |__) | / __| '_ \ 
| (_) |__) | |_| / __/| \__ \ | | |
 \___/____/ \___/_____|_|___/_| |_|
        D2sk - Sysop

Log in or register to reply to this thread.