|
Bearsampp 2026.3.26
API documentation
|
Public Member Functions | |
| __construct () | |
| getAll () | |
| getPhpmyadmin () | |
| getPhppgadmin () | |
| reload () | |
| update () | |
Data Fields | |
| const | TYPE = 'apps' |
Private Attributes | |
| $phpmyadmin | |
| $phppgadmin | |
Class Apps
This class manages various application modules within the Bearsampp application. It provides methods to retrieve and update configurations for different tools such as PhpMyAdmin and PhpPgAdmin.
Definition at line 16 of file class.apps.php.
| __construct | ( | ) |
| getAll | ( | ) |
Retrieves all application modules.
Definition at line 71 of file class.apps.php.
References getPhpmyadmin(), and getPhppgadmin().
| getPhpmyadmin | ( | ) |
Retrieves the PhpMyAdmin module instance.
If the instance is not already created, it initializes a new AppPhpmyadmin object.
Definition at line 86 of file class.apps.php.
References $phpmyadmin.
Referenced by getAll().
| getPhppgadmin | ( | ) |
Retrieves the PhpPgAdmin module instance.
If the instance is not already created, it initializes a new AppPhppgadmin object.
Definition at line 101 of file class.apps.php.
References $phppgadmin.
Referenced by getAll().
| reload | ( | ) |
Reloads the configuration for all application modules.
This method logs the reload process and iterates through all the apps to reload their configurations.
Definition at line 45 of file class.apps.php.
References getAll(), and Util\logInfo().
| update | ( | ) |
Updates the configuration for all application modules.
This method logs the update process and iterates through all the tools to update their configurations.
Definition at line 58 of file class.apps.php.
References getAll(), and Util\logInfo().
|
private |
Definition at line 26 of file class.apps.php.
Referenced by getPhpmyadmin().
|
private |
Definition at line 31 of file class.apps.php.
Referenced by getPhppgadmin().
| const TYPE = 'apps' |
The type of the module.
Definition at line 21 of file class.apps.php.
Referenced by Module\reload().