Widget managing saved database connections

package OpenSQLManager
subpackage Widgets

 Methods

Constructor method

__construct($parent) 

Parameters

$parent

wxWindow

Handles an event for adding a connection

add_conn($event) : void

Parameters

$event

wxEvent

Return the current instance of the class

get_instance($parent) : \OpenSQLManager\Connection_Sidebar

Parameters

$parent

wxWindow

Returns

 Properties

 

Reference to popup menu

$menu : \OpenSQLManager\wxMenu

 

Reference to Settings instance

$settings : \OpenSQLManager\Settings

 

Name of current db connection

$conn_name : string

 

Singleton instance

$instance : \OpenSQLManager\Connection_Sidebar

 

Reference to the list control that holds the connections

$list : \OpenSQLManager\wxListCtrl

 Constants

 

BUTTON_ADD

BUTTON_ADD