diff --git a/docs/classes.svg b/docs/classes.svg index 28f4738..012132b 100644 --- a/docs/classes.svg +++ b/docs/classes.svg @@ -4,106 +4,118 @@ - - + + G - + cluster_OpenSQLManager - - - - - + + + + + -OpenSQLManager +OpenSQLManager \\OpenSQLManager\\OpenSQLManager - -OpenSQLManager + +OpenSQLManager -\\wxApp - -\wxApp +\\wxApp + +\wxApp \\OpenSQLManager\\OpenSQLManager->\\wxApp - - + + \\OpenSQLManager\\Connection_Sidebar + +Connection_Sidebar + + + +\\wxPanel + +\wxPanel + + +\\OpenSQLManager\\Connection_Sidebar->\\wxPanel + + + + +\\OpenSQLManager\\Connection_Manager + -Connection_Sidebar - - - -\\wxWindow - -\wxWindow - - -\\OpenSQLManager\\Connection_Sidebar->\\wxWindow - - - - -\\OpenSQLManager\\Data_Grid - - -Data_Grid - - - -\\wxGrid - -\wxGrid - - -\\OpenSQLManager\\Data_Grid->\\wxGrid - - - - -\\OpenSQLManager\\DB_tabs - - -DB_tabs - - - -\\wxNotebook - -\wxNotebook - - -\\OpenSQLManager\\DB_tabs->\\wxNotebook - - - - -\\OpenSQLManager\\Main - - -Main +Connection_Manager -\\wxFrame - -\wxFrame +\\wxFrame + +\wxFrame + + +\\OpenSQLManager\\Connection_Manager->\\wxFrame + + + + +\\OpenSQLManager\\Data_Grid + + +Data_Grid + + + +\\wxGrid + +\wxGrid + + +\\OpenSQLManager\\Data_Grid->\\wxGrid + + + + +\\OpenSQLManager\\DB_tabs + + +DB_tabs + + + +\\wxNotebook + +\wxNotebook + + +\\OpenSQLManager\\DB_tabs->\\wxNotebook + + + + +\\OpenSQLManager\\Main + + +Main + -\\OpenSQLManager\\Main->\\wxFrame - - +\\OpenSQLManager\\Main->\\wxFrame + + diff --git a/docs/classes/OpenSQLManager.Connection_Manager.html b/docs/classes/OpenSQLManager.Connection_Manager.html new file mode 100644 index 0000000..1444aa1 --- /dev/null +++ b/docs/classes/OpenSQLManager.Connection_Manager.html @@ -0,0 +1,206 @@ + + + + + +OpenSQLManager » \OpenSQLManager\Connection_Manager + + + + + + + + + + +
+ +
+ +
+ +
+

Widget for adding / Editing Connections

+
+

+ + + + + + + + + +
packageOpenSQLManager
subpackageWidgets
+

+ Methods

+
+

Create the window

+
__construct($parent, $params) 
+
+
+

+

Parameters

+
+

$parent

+

wxWindow

+
+

$params

+

mixed

+
+
+
+

Layout fields on the form

+
_layout($params) 
+
+
+

+

Parameters

+
+

$params

+

array

+
+
+
+

Get the list of available database types

+
get_available_dbs() 
+
+

return array

+
+

+ Properties

+ 
+

Array of fields for Connection Information manipulation

+
$fields : array
+
+

+
+

+ Constants

+ 
+

COMBO_DB_TYPE

+
COMBO_DB_TYPE 
+
+

+
+ 
+

FILE_DB_FILE

+
FILE_DB_FILE 
+
+

+
+ 
+

TXT_CONN_NAME

+
TXT_CONN_NAME 
+
+

+
+ 
+

TXT_DB_HOST

+
TXT_DB_HOST 
+
+

+
+ 
+

TXT_DB_NAME

+
TXT_DB_NAME 
+
+

+
+ 
+

TXT_DB_PASS

+
TXT_DB_PASS 
+
+

+
+ 
+

TXT_DB_PORT

+
TXT_DB_PORT 
+
+

+
+ 
+

TXT_DB_USER

+
TXT_DB_USER 
+
+

+
+
+
+
+
+
+
+ + diff --git a/docs/classes/OpenSQLManager.Connection_Sidebar.html b/docs/classes/OpenSQLManager.Connection_Sidebar.html index 9b38e7e..a084c06 100644 --- a/docs/classes/OpenSQLManager.Connection_Sidebar.html +++ b/docs/classes/OpenSQLManager.Connection_Sidebar.html @@ -57,18 +57,26 @@
  • Constructor method
    __construct()
  • +
  • Handles an event for adding a connection
    add_conn()
  • Return the current instance of the class
    get_instance()
  • - -
  • Renders the connection sidebar widget
    _render()
  • +
  • Right-click event to create context menu
    menu()
  • +
  • Handler for context menu options
    menu_event()
  • Reference to popup menu
    $menu
  • Reference to Settings instance
    $settings
  • -
  • Treeview for displaying connections
    $treeview
  • Name of current db connection
    $conn_name
  • Singleton instance
    $instance
  • +
  • Reference to the list control that holds the connections
    $list
  • + +
  • BUTTON_ADD
    BUTTON_ADD
  • +
  • MENU_CONNECT
    MENU_CONNECT
  • +
  • MENU_DELETE_CONNECT
    MENU_DELETE_CONNECT
  • +
  • MENU_DISCONNECT
    MENU_DISCONNECT
  • +
  • MENU_EDIT_CONNECT
    MENU_EDIT_CONNECT
  • @@ -99,31 +107,71 @@  Methods

    Constructor method

    -
    __construct() 
    -
    -

    -
    -
    -

    Return the current instance of the class

    -
    get_instance() : \OpenSQLManager\Connection_Sidebar
    +
    __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

    -
    -

    Renders the connection sidebar widget

    -
    _render() : void
    + +

     Properties

     

    Reference to popup menu

    -
    $menu : \OpenSQLManager\GtkMenu
    +
    $menu : \OpenSQLManager\wxMenu

    @@ -133,12 +181,6 @@

    - 
    -

    Treeview for displaying connections

    -
    $treeview : \OpenSQLManager\GtkTreeView
    -
    -

    -
     

    Name of current db connection

    $conn_name : string
    @@ -151,6 +193,44 @@

    + 
    +

    Reference to the list control that holds the connections

    +
    $list : \OpenSQLManager\wxListCtrl
    +
    +

    +
    +

    + Constants

    + 
    +

    BUTTON_ADD

    +
    BUTTON_ADD 
    +
    +

    +
    +  +  +  + 
    @@ -158,7 +238,7 @@
    + generated on 2012-05-30T16:45:45-04:00.
    diff --git a/docs/classes/OpenSQLManager.DB_tabs.html b/docs/classes/OpenSQLManager.DB_tabs.html index b57d43b..37ccd1f 100644 --- a/docs/classes/OpenSQLManager.DB_tabs.html +++ b/docs/classes/OpenSQLManager.DB_tabs.html @@ -146,7 +146,7 @@
    + generated on 2012-05-30T16:45:45-04:00.
    diff --git a/docs/classes/OpenSQLManager.Data_Grid.html b/docs/classes/OpenSQLManager.Data_Grid.html index aa7da38..1fe68d0 100644 --- a/docs/classes/OpenSQLManager.Data_Grid.html +++ b/docs/classes/OpenSQLManager.Data_Grid.html @@ -57,10 +57,6 @@
  • Create the object
    __construct()
  • - - -
  • GtkTreeStore object
    $model
  • @@ -91,25 +87,16 @@  Methods

    Create the object

    -
    __construct(object $model) 
    +
    __construct($parent) 

    Parameters

    -

    $model

    -object -
    +

    $parent

    +

    object

    -

    - Properties

    - 
    -

    GtkTreeStore object

    -
    $model : \OpenSQLManager\wxGridTableBase
    -
    -

    -
    @@ -117,7 +104,7 @@
    + generated on 2012-05-30T16:45:45-04:00.
    diff --git a/docs/classes/OpenSQLManager.Main.html b/docs/classes/OpenSQLManager.Main.html index b2f1980..9987b7b 100644 --- a/docs/classes/OpenSQLManager.Main.html +++ b/docs/classes/OpenSQLManager.Main.html @@ -67,6 +67,8 @@ Create menus, hboxes, vboxs and other widgets">Layout Create menus, hboxes, vboxs and other widgets
    _main_layout()
    + +
  • Reference to split window
    $split
  • Reference to connection sidebar instance
    $connection_sidebar
  • Reference to settings instance
    $settings
  • @@ -141,6 +143,12 @@ Create menus, hboxes, vboxs and other widgets

     Properties

    + 
    +

    Reference to split window

    +
    $split : \OpenSQLManager\wxSplitterWindow
    +
    +

    +
     

    Reference to connection sidebar instance

    $connection_sidebar : \OpenSQLManager\Connection_Sidebar
    @@ -160,7 +168,7 @@ Create menus, hboxes, vboxs and other widgets
    + generated on 2012-05-30T16:45:45-04:00.
    diff --git a/docs/classes/OpenSQLManager.OpenSQLManager.html b/docs/classes/OpenSQLManager.OpenSQLManager.html index 7740756..39336c2 100644 --- a/docs/classes/OpenSQLManager.OpenSQLManager.html +++ b/docs/classes/OpenSQLManager.OpenSQLManager.html @@ -107,7 +107,7 @@
    + generated on 2012-05-30T16:45:45-04:00.
    diff --git a/docs/deprecated.html b/docs/deprecated.html index 5102b7d..7ab2cb3 100644 --- a/docs/deprecated.html +++ b/docs/deprecated.html @@ -66,7 +66,7 @@
    + generated on 2012-05-30T16:45:45-04:00.
    diff --git a/docs/errors.html b/docs/errors.html index f608ad3..0d7dc35 100644 --- a/docs/errors.html +++ b/docs/errors.html @@ -70,12 +70,13 @@
    +
    + generated on 2012-05-30T16:45:45-04:00.
    diff --git a/docs/graph_class.html b/docs/graph_class.html index f185a21..3c77c0c 100644 --- a/docs/graph_class.html +++ b/docs/graph_class.html @@ -63,7 +63,7 @@
    + generated on 2012-05-30T16:45:45-04:00.
    diff --git a/docs/index.html b/docs/index.html index 2ee0dba..da37b97 100644 --- a/docs/index.html +++ b/docs/index.html @@ -84,7 +84,7 @@
    + generated on 2012-05-30T16:45:45-04:00.
    diff --git a/docs/markers.html b/docs/markers.html index dc75dce..0851990 100644 --- a/docs/markers.html +++ b/docs/markers.html @@ -68,7 +68,7 @@
    + generated on 2012-05-30T16:45:45-04:00.
    diff --git a/docs/namespaces/OpenSQLManager.html b/docs/namespaces/OpenSQLManager.html index 7866247..cd22ce5 100644 --- a/docs/namespaces/OpenSQLManager.html +++ b/docs/namespaces/OpenSQLManager.html @@ -192,6 +192,13 @@ with array_map and glob

    Classes and interfaces

    +
    +

    Connection_Manager +

    +

    Widget for adding / Editing Connections

    +
    +« More » +

    Connection_Sidebar

    @@ -259,7 +266,7 @@ with array_map and glob
    + generated on 2012-05-30T16:45:45-04:00.
    diff --git a/docs/packages/.html b/docs/packages/.html index b6e96f3..0901a31 100644 --- a/docs/packages/.html +++ b/docs/packages/.html @@ -66,7 +66,7 @@
    + generated on 2012-05-30T16:45:45-04:00.
    diff --git a/docs/packages/Default.html b/docs/packages/Default.html index 5b2c5cb..3d2c97b 100644 --- a/docs/packages/Default.html +++ b/docs/packages/Default.html @@ -107,7 +107,7 @@
    + generated on 2012-05-30T16:45:45-04:00.
    diff --git a/docs/packages/OpenSQLManager.Widgets.html b/docs/packages/OpenSQLManager.Widgets.html index c4eae71..394fade 100644 --- a/docs/packages/OpenSQLManager.Widgets.html +++ b/docs/packages/OpenSQLManager.Widgets.html @@ -62,6 +62,7 @@
  • Connection_Sidebar
  • +
  • Connection_Manager
  • Data_Grid
  • DB_tabs
  • @@ -77,6 +78,13 @@

    Classes and interfaces

    +
    +

    Connection_Manager +

    +

    Widget for adding / Editing Connections

    +
    +« More » +

    Connection_Sidebar

    @@ -104,7 +112,7 @@
    + generated on 2012-05-30T16:45:45-04:00.
    diff --git a/docs/packages/OpenSQLManager.Windows.html b/docs/packages/OpenSQLManager.Windows.html index 62efb79..d8d739f 100644 --- a/docs/packages/OpenSQLManager.Windows.html +++ b/docs/packages/OpenSQLManager.Windows.html @@ -88,7 +88,7 @@
    + generated on 2012-05-30T16:45:45-04:00.
    diff --git a/docs/packages/OpenSQLManager.html b/docs/packages/OpenSQLManager.html index 9bf9536..fac1a11 100644 --- a/docs/packages/OpenSQLManager.html +++ b/docs/packages/OpenSQLManager.html @@ -231,6 +231,13 @@ with array_map and glob

    Classes and interfaces

    +
    +

    Connection_Manager +

    +

    Widget for adding / Editing Connections

    +
    +« More » +

    Connection_Sidebar

    @@ -277,7 +284,7 @@ with array_map and glob
    + generated on 2012-05-30T16:45:45-04:00.
    diff --git a/docs/structure.xml b/docs/structure.xml index dfaf7e5..b0ae4d3 100644 --- a/docs/structure.xml +++ b/docs/structure.xml @@ -1,6 +1,6 @@ - + Free Database manager for Open Source Databases

    ]]>
    @@ -30,7 +30,7 @@ VERSION - + log_fatal @@ -119,40 +119,40 @@ with array_map and glob]]> - + OpenSQLManager \OpenSQLManager\OpenSQLManager \wxApp - + - + - + OnInit function - + - + int - + OnExit function - + - + int
    - + Free Database manager for Open Source Databases

    ]]>
    @@ -219,27 +219,27 @@ with array_map and glob]]> - + confirm function - + - + string - + bool - + $message
    - + Free Database manager for Open Source Databases

    ]]>
    @@ -252,101 +252,280 @@ with array_map and glob]]> Connection_Sidebar \OpenSQLManager\Connection_Sidebar - \wxWindow + \wxPanel - + + MENU_CONNECT + + + + MENU_DISCONNECT + + + + MENU_EDIT_CONNECT + + + + MENU_DELETE_CONNECT + + + + BUTTON_ADD + + + $settings - + - + \OpenSQLManager\Settings - + $menu - + - - \OpenSQLManager\GtkMenu + + \OpenSQLManager\wxMenu - - $treeview - - - - - - \OpenSQLManager\GtkTreeView - - - - + $instance - + - + \OpenSQLManager\Connection_Sidebar - + $conn_name - + - + string - + + $list + + + + + + \OpenSQLManager\wxListCtrl + + + + get_instance function - + - + + \OpenSQLManager\Connection_Sidebar + + $parent + + + - + __construct function - + + + + $parent + + + - - _render + + menu function - - + + - + + void + + $event + + + + + + menu_event + function + + + + + + void + + + + $event + + + + + + add_conn + function + + + + + + void + + + + $event + + + + + +
    + + + + Free Database manager for Open Source Databases

    ]]>
    + + + + + +
    + + Connection_Manager + \OpenSQLManager\Connection_Manager + \wxFrame + + + + + + + + TXT_CONN_NAME + + + + COMBO_DB_TYPE + + + + FILE_DB_FILE + + + + TXT_DB_NAME + + + + TXT_DB_HOST + + + + TXT_DB_PORT + + + + TXT_DB_USER + + + + TXT_DB_PASS + + + + $fields + + + + + + array + + + + + __construct + function + + + + + + + + $parent + + + + + $params + + + + + + _layout + function + + + + + + + $params + + + + + + get_available_dbs + function + + + return array

    ]]>
    +
    - + Free Database manager for Open Source Databases

    ]]>
    @@ -366,30 +545,17 @@ with array_map and glob]]>
    - - $model - - - - - - \OpenSQLManager\wxGridTableBase - - - - + __construct function - + - - object - + - - $model - + + $parent + @@ -485,7 +651,7 @@ with array_map and glob]]>
    - + Free Database manager for Open Source Databases

    ]]>
    @@ -527,66 +693,77 @@ with array_map and glob]]>
    - + + $split + + + + + + \OpenSQLManager\wxSplitterWindow + + + + __construct function - + - + __destruct function - + - + void - + quit function - + - + void - + about function - + - + void - + _main_layout function - + - + void - + _create_menu function - + - + \OpenSQLManager\GtkMenuBar diff --git a/sys/db b/sys/db index 35b21c3..2b0d1c2 160000 --- a/sys/db +++ b/sys/db @@ -1 +1 @@ -Subproject commit 35b21c31a54bfac28f02fd44bc0a6cd45c591674 +Subproject commit 2b0d1c207e6016e0fc114096b7900b6dfd01e45d diff --git a/sys/widgets/data_grid.php b/sys/widgets/data_grid.php index a0b9e0c..6aa3785 100644 --- a/sys/widgets/data_grid.php +++ b/sys/widgets/data_grid.php @@ -26,7 +26,7 @@ class Data_Grid extends \wxGrid { /** * Create the object * - * @param object $model + * @param object */ public function __construct($parent = NULL) { @@ -43,4 +43,5 @@ class Data_Grid extends \wxGrid { } } } + // End of data_grid.php \ No newline at end of file