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

Protected Member Functions

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

Additional Inherited Members

Public Member Functions inherited from ActionDebugBase
 __construct ($args)

Detailed Description

Class ActionDebugPostgresql

This class handles the debugging actions for PostgreSQL within the Bearsampp application. It retrieves and displays PostgreSQL command line output based on the provided arguments.

Definition at line 16 of file class.action.debugPostgresql.php.

Member Function Documentation

◆ getBinInstance()

getBinInstance ( $bearsamppBins)
protected

Get the PostgreSQL binary instance

Parameters
object$bearsamppBinsThe bins object containing all service binaries
Returns
BinPostgresql The PostgreSQL binary instance

Reimplemented from ActionDebugBase.

Definition at line 34 of file class.action.debugPostgresql.php.

35 {
36 return $bearsamppBins->getPostgresql();
37 }
global $bearsamppBins

References $bearsamppBins.

◆ getCommandMapping()

getCommandMapping ( )
protected

Get the command-to-caption mapping for PostgreSQL

Returns
array Command mapping configuration

Reimplemented from ActionDebugBase.

Definition at line 44 of file class.action.debugPostgresql.php.

45 {
46 return [
49 'editor' => false
50 ]
51 ];
52 }
const DEBUG_POSTGRESQL_VERSION

References BinPostgresql\CMD_VERSION, and Lang\DEBUG_POSTGRESQL_VERSION.

◆ getServiceLangConstant()

getServiceLangConstant ( )
protected

Get the service name for language strings

Returns
string The language constant name for PostgreSQL

Reimplemented from ActionDebugBase.

Definition at line 23 of file class.action.debugPostgresql.php.

24 {
25 return 'POSTGRESQL';
26 }

◆ hasContentKey()

hasContentKey ( )
protected

PostgreSQL returns output as a direct string, not an array with 'content' key

Returns
bool False to indicate direct string output

Reimplemented from ActionDebugBase.

Definition at line 59 of file class.action.debugPostgresql.php.

60 {
61 return false;
62 }

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