![]() |
Bearsampp 2025.8.29
API Documentation for Bearsampp
|
Public Member Functions | |
| __construct ($args) | |
Data Fields | |
| const | SWITCH_OFF = 'off' |
| const | SWITCH_ON = 'on' |
Class ActionSwitchPhpExtension
This class is responsible for enabling or disabling PHP extensions by modifying the php.ini configuration file.
Definition at line 15 of file class.action.switchPhpExtension.php.
| __construct | ( | $args | ) |
ActionSwitchPhpExtension constructor.
| array | $args | An array containing the extension name and the action (on/off). |
Definition at line 25 of file class.action.switchPhpExtension.php.
References $bearsamppBins.
| const SWITCH_OFF = 'off' |
Definition at line 18 of file class.action.switchPhpExtension.php.
Referenced by TplAppPhp\getActionSwitchPhpExtension(), BinPhp\getExtensionsFromConf(), and BinPhp\getExtensionsFromFolder().
| const SWITCH_ON = 'on' |
Definition at line 17 of file class.action.switchPhpExtension.php.
Referenced by TplAppPhp\getActionSwitchPhpExtension(), BinPhp\getExtensionsFromConf(), BinPhp\getExtensionsLoaded(), and TplAppPhp\getMenuPhpExtensions().