TradeBench 1.0.0
Algorithmic Trading Backtesting Platform
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
App\Controllers\AdminController Class Reference

Controller managing administrative routes and data moderation tools. More...

Public Member Functions

 __construct ()
 
 getUsers ()
 Retrieves the entire user catalog securely.
 
 deleteUser (string $id)
 Facilitates cascade deletion of a user record and its associated history.
 
 updateUser (string $id)
 Updates internal role permissions associated with target User entity.
 
 getStats ()
 Computes generalized statistical counters and weekly load analytics.
 

Private Attributes

PDO $db
 

Detailed Description

Controller managing administrative routes and data moderation tools.

Constructor & Destructor Documentation

◆ __construct()

App\Controllers\AdminController::__construct ( )

Member Function Documentation

◆ deleteUser()

App\Controllers\AdminController::deleteUser ( string $id)

Facilitates cascade deletion of a user record and its associated history.

Parameters
string$idTarget User ID parameter.

◆ getStats()

App\Controllers\AdminController::getStats ( )

Computes generalized statistical counters and weekly load analytics.

◆ getUsers()

App\Controllers\AdminController::getUsers ( )

Retrieves the entire user catalog securely.

◆ updateUser()

App\Controllers\AdminController::updateUser ( string $id)

Updates internal role permissions associated with target User entity.

Parameters
string$idDatabase ID for the target user.

Field Documentation

◆ $db

PDO App\Controllers\AdminController::$db
private

The documentation for this class was generated from the following file: