Bearsampp 2026.3.26
API documentation
Loading...
Searching...
No Matches
ActionDebugApache Class Reference
Inheritance diagram for ActionDebugApache:

Protected Member Functions

 getBinInstance ($bearsamppBins)
 getCommandMapping ()
 getServiceLangConstant ()
Protected Member Functions inherited from ActionDebugBase
 hasContentKey ()
 isSyntaxCheckCommand ($command)

Additional Inherited Members

Public Member Functions inherited from ActionDebugBase
 __construct ($args)

Detailed Description

Class ActionDebugApache

This class handles the debugging of Apache configurations and settings. It retrieves various Apache debug information based on the provided arguments and displays the information in a message box or editor.

Definition at line 17 of file class.action.debugApache.php.

Member Function Documentation

◆ getBinInstance()

getBinInstance ( $bearsamppBins)
protected

Get the Apache binary instance

Parameters
object$bearsamppBinsThe bins object containing all service binaries
Returns
BinApache The Apache binary instance

Reimplemented from ActionDebugBase.

Definition at line 35 of file class.action.debugApache.php.

36 {
37 return $bearsamppBins->getApache();
38 }
global $bearsamppBins

References $bearsamppBins.

◆ getCommandMapping()

getCommandMapping ( )
protected

Get the command-to-caption mapping for Apache

Returns
array Command mapping configuration

Reimplemented from ActionDebugBase.

Definition at line 45 of file class.action.debugApache.php.

46 {
47 return [
50 'editor' => false
51 ],
54 'editor' => false
55 ],
58 'editor' => false
59 ],
62 'editor' => true
63 ],
66 'editor' => true
67 ],
70 'editor' => true
71 ],
74 'editor' => false,
75 'syntaxCheck' => true
76 ]
77 ];
78 }
const CMD_SYNTAX_CHECK
const CMD_CONFIG_DIRECTIVES
const CMD_COMPILE_SETTINGS
const CMD_COMPILED_MODULES
const CMD_LOADED_MODULES
const CMD_VERSION_NUMBER
const CMD_VHOSTS_SETTINGS
const DEBUG_APACHE_SYNTAX_CHECK
const DEBUG_APACHE_COMPILE_SETTINGS
const DEBUG_APACHE_COMPILED_MODULES
const DEBUG_APACHE_CONFIG_DIRECTIVES
const DEBUG_APACHE_LOADED_MODULES
const DEBUG_APACHE_VERSION_NUMBER
const DEBUG_APACHE_VHOSTS_SETTINGS

References BinApache\CMD_COMPILE_SETTINGS, BinApache\CMD_COMPILED_MODULES, BinApache\CMD_CONFIG_DIRECTIVES, BinApache\CMD_LOADED_MODULES, BinApache\CMD_SYNTAX_CHECK, BinApache\CMD_VERSION_NUMBER, BinApache\CMD_VHOSTS_SETTINGS, Lang\DEBUG_APACHE_COMPILE_SETTINGS, Lang\DEBUG_APACHE_COMPILED_MODULES, Lang\DEBUG_APACHE_CONFIG_DIRECTIVES, Lang\DEBUG_APACHE_LOADED_MODULES, Lang\DEBUG_APACHE_SYNTAX_CHECK, Lang\DEBUG_APACHE_VERSION_NUMBER, and Lang\DEBUG_APACHE_VHOSTS_SETTINGS.

◆ getServiceLangConstant()

getServiceLangConstant ( )
protected

Get the service name for language strings

Returns
string The language constant name for Apache

Reimplemented from ActionDebugBase.

Definition at line 24 of file class.action.debugApache.php.

25 {
26 return 'APACHE';
27 }

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