update_your_details()

public function update_your_details(): void

Description

Redirects the currently logged‑in user to their own profile page for editing. Uses the authentication token to identify the user and redirects to trongate_administrators/show/{user_id}.

Parameters

This method accepts no parameters.

Return Value

TypeDescription
voidRedirects to the user's own profile page.

Example Usage

PHP
// In a navigation menu or sidebar
<a href="<?= BASE_URL ?>trongate_administrators/update_your_details">My Profile</a>

// Controller redirect
public function profile() {
    $this->trongate_administrators->update_your_details();
}