From c169a3a1db1b13874103ffbc18665ad6e604fde3 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Mon, 14 May 2012 13:25:32 -0400 Subject: [PATCH] Optimize foreach loops --- docs/classes/Add_DB.html | 6 +- docs/classes/Connection_Sidebar.html | 6 +- docs/classes/DB_Info_Widget.html | 6 +- docs/classes/DB_PDO.html | 49 +- docs/classes/DB_Reg.html | 6 +- docs/classes/DB_SQL.html | 35 +- docs/classes/DB_Structure_Widget.html | 6 +- docs/classes/DB_Table_Data.html | 6 +- docs/classes/DB_Util.html | 6 +- docs/classes/DB_tabs.html | 6 +- docs/classes/Data_Grid.html | 6 +- docs/classes/Edit_DB.html | 6 +- docs/classes/Edit_Table.html | 6 +- docs/classes/Firebird.html | 61 +- docs/classes/Firebird_Result.html | 6 +- docs/classes/Firebird_SQL.html | 17 +- docs/classes/Firebird_Util.html | 6 +- docs/classes/Main.html | 6 +- docs/classes/MySQL.html | 61 +- docs/classes/MySQL_SQL.html | 40 +- docs/classes/MySQL_Util.html | 6 +- docs/classes/ODBC.html | 61 +- docs/classes/ODBC_SQL.html | 33 +- docs/classes/ODBC_Util.html | 6 +- docs/classes/PgSQL.html | 61 +- docs/classes/PgSQL_SQL.html | 17 +- docs/classes/PgSQL_Util.html | 6 +- docs/classes/Query_Builder.html | 102 +- docs/classes/SQLite.html | 61 +- docs/classes/SQLite_SQL.html | 33 +- docs/classes/SQLite_Util.html | 6 +- docs/classes/Settings.html | 6 +- docs/deprecated.html | 6 +- docs/errors.html | 6 +- docs/graph_class.html | 6 +- docs/index.html | 10 +- docs/markers.html | 126 +- docs/namespaces/default.html | 6 +- docs/packages/.html | 6 +- docs/packages/Default.html | 6 +- docs/packages/OpenSQLManager.Widgets.html | 6 +- docs/packages/OpenSQLManager.Windows.html | 6 +- docs/packages/OpenSQLManager.html | 6 +- docs/packages/Query.Drivers.html | 6 +- docs/packages/Query.Helper Classes.html | 6 +- docs/packages/Query.Query.html | 6 +- docs/packages/Query.html | 6 +- docs/structure.xml | 1582 ++++++++++++--------- sys/common/functions.php | 2 +- sys/db | 2 +- sys/widgets/connection_sidebar.php | 4 +- sys/widgets/data_grid.php | 6 +- sys/widgets/db_info_widget.php | 4 +- sys/widgets/db_tabs.php | 6 +- 54 files changed, 1794 insertions(+), 771 deletions(-) diff --git a/docs/classes/Add_DB.html b/docs/classes/Add_DB.html index 46f0b36..20865c4 100644 --- a/docs/classes/Add_DB.html +++ b/docs/classes/Add_DB.html @@ -35,7 +35,9 @@
  •  Errors  0
  •  Markers  -
    • +
    •  Deprecated elements  0
    • @@ -90,7 +92,7 @@
      + generated on 2012-05-14T13:25:16-04:00.
      diff --git a/docs/classes/Connection_Sidebar.html b/docs/classes/Connection_Sidebar.html index fcb1678..e89621f 100644 --- a/docs/classes/Connection_Sidebar.html +++ b/docs/classes/Connection_Sidebar.html @@ -35,7 +35,9 @@
    •  Errors  0
    •  Markers  -
      • +
      •  Deprecated elements  0
      • @@ -321,7 +323,7 @@
        + generated on 2012-05-14T13:25:16-04:00.
        diff --git a/docs/classes/DB_Info_Widget.html b/docs/classes/DB_Info_Widget.html index 74febc6..8c3bc00 100644 --- a/docs/classes/DB_Info_Widget.html +++ b/docs/classes/DB_Info_Widget.html @@ -35,7 +35,9 @@
      •  Errors  0
      •  Markers  -
        • +
        •  Deprecated elements  0
        • @@ -309,7 +311,7 @@
          + generated on 2012-05-14T13:25:16-04:00.
          diff --git a/docs/classes/DB_PDO.html b/docs/classes/DB_PDO.html index 29ec71b..b32fefe 100644 --- a/docs/classes/DB_PDO.html +++ b/docs/classes/DB_PDO.html @@ -35,7 +35,9 @@
        •  Errors  0
        •  Markers  -
          • +
          •  Deprecated elements  0
          • @@ -80,6 +82,7 @@ method if the database does not support 'TRUNCATE';
            empty_table()
            getAttribute()
          • getAvailableDrivers()
            getAvailableDrivers()
          • +
          • Retrieve column information for the current database table
            get_columns()
          • Return list of dbs for the current connection, if possible
            get_dbs()
          • Return list of function for the current database
            get_functions()
          • Return the last error for the current database connection
            get_last_error()
          • @@ -92,6 +95,7 @@ the connection/database">Retreives an array of non-use the connection/database
            get_system_tables()
          • Return list of tables for the current database
            get_tables()
          • Return list of triggers for the current database
            get_triggers()
          • +
          • Retrieve list of data types for the database
            get_types()
          • Return list of views for the current database
            get_views()
          • inTransaction()
            inTransaction()
          • @@ -114,6 +118,7 @@ the connection/database
            get_system_tables()
          • Connect to a different database
            switch_db()
          • Empty the passed table
            truncate()
          • +
          • Helper method for quote_ident
            _quote()
          • Method to simplify retreiving db results for meta-data queries
            driver_query()
          • @@ -314,6 +319,21 @@ method if the database does not support 'TRUNCATE'; +
            +

            Retrieve column information for the current database table

            +
            get_columns(string $table) : array
            +
            +
            +

            +

            Parameters

            +
            +

            $table

            +string +
            +

            Returns

            +
            array
            +
            +

            Return list of dbs for the current connection, if possible

            get_dbs() : array
            @@ -420,6 +440,16 @@ the connection/database
            array
            +
            +

            Retrieve list of data types for the database

            +
            get_types() : array
            +
            +
            +

            +

            Returns

            +
            array
            +
            +

            Return list of views for the current database

            get_views() : array
            @@ -611,6 +641,21 @@ the connection/database
            +
            +

            Helper method for quote_ident

            +
            _quote(mixed $str) : mixed
            +
            +
            +

            +

            Parameters

            +
            +

            $str

            +mixed +
            +

            Returns

            +
            mixed
            +
            +

            Method to simplify retreiving db results for meta-data queries

            driver_query(string $sql, bool $filtered_index) : mixed
            @@ -663,7 +708,7 @@ the connection/database
            + generated on 2012-05-14T13:25:16-04:00.
            diff --git a/docs/classes/DB_Reg.html b/docs/classes/DB_Reg.html index b1d3118..68fdc9a 100644 --- a/docs/classes/DB_Reg.html +++ b/docs/classes/DB_Reg.html @@ -35,7 +35,9 @@
          •  Errors  0
          •  Markers  -
            • +
            •  Deprecated elements  0
            • @@ -152,7 +154,7 @@ and organizes database connections

              + generated on 2012-05-14T13:25:16-04:00.
              diff --git a/docs/classes/DB_SQL.html b/docs/classes/DB_SQL.html index 6e054dd..c786367 100644 --- a/docs/classes/DB_SQL.html +++ b/docs/classes/DB_SQL.html @@ -35,7 +35,9 @@
            •  Errors  0
            •  Markers  -
              • +
              •  Deprecated elements  0
              • @@ -58,6 +60,9 @@
              • Get the 'average' keyword
                avg()
              • +
              • Get information about the columns in the +specified table
                column_list()
              • Returns sql to list other databases
                db_list()
              • Get the 'distinct' keyword
                distinct()
              • Return sql to list functions
                function_list()
              • @@ -71,6 +76,7 @@
              • Returns sql to list system tables
                system_table_list()
              • Returns sql to list tables
                table_list()
              • Returns sql to list triggers
                trigger_list()
              • +
              • Return sql to list database field types
                type_list()
              • Returns sql to list views
                view_list()
              • @@ -101,6 +107,21 @@
                string
                +
                +

                Get information about the columns in the +specified table

                +
                column_list($table) : string
                +
                +
                +

                +

                Parameters

                +
                +

                $table

                +

                string

                +

                Returns

                +
                string
                +
                +

                Returns sql to list other databases

                db_list() : string
                @@ -252,6 +273,16 @@
                string
                +
                +

                Return sql to list database field types

                +
                type_list() : mixed
                +
                +
                +

                +

                Returns

                +
                mixed
                +
                +

                Returns sql to list views

                view_list() : string
                @@ -269,7 +300,7 @@
                + generated on 2012-05-14T13:25:16-04:00.
                diff --git a/docs/classes/DB_Structure_Widget.html b/docs/classes/DB_Structure_Widget.html index 4b91dcb..6b71375 100644 --- a/docs/classes/DB_Structure_Widget.html +++ b/docs/classes/DB_Structure_Widget.html @@ -35,7 +35,9 @@
              •  Errors  0
              •  Markers  -
                • +
                •  Deprecated elements  0
                • @@ -90,7 +92,7 @@
                  + generated on 2012-05-14T13:25:16-04:00.
                  diff --git a/docs/classes/DB_Table_Data.html b/docs/classes/DB_Table_Data.html index fb79ece..629dad9 100644 --- a/docs/classes/DB_Table_Data.html +++ b/docs/classes/DB_Table_Data.html @@ -35,7 +35,9 @@
                •  Errors  0
                •  Markers  -
                  • +
                  •  Deprecated elements  0
                  • @@ -109,7 +111,7 @@
                    + generated on 2012-05-14T13:25:16-04:00.
                    diff --git a/docs/classes/DB_Util.html b/docs/classes/DB_Util.html index 4a5d096..89b80a6 100644 --- a/docs/classes/DB_Util.html +++ b/docs/classes/DB_Util.html @@ -35,7 +35,9 @@
                  •  Errors  0
                  •  Markers  -
                    • +
                    •  Deprecated elements  0
                    • @@ -209,7 +211,7 @@
                      + generated on 2012-05-14T13:25:16-04:00.
                      diff --git a/docs/classes/DB_tabs.html b/docs/classes/DB_tabs.html index aace255..87eed7f 100644 --- a/docs/classes/DB_tabs.html +++ b/docs/classes/DB_tabs.html @@ -35,7 +35,9 @@
                    •  Errors  0
                    •  Markers  -
                      • +
                      •  Deprecated elements  0
                      • @@ -287,7 +289,7 @@
                        + generated on 2012-05-14T13:25:16-04:00.
                        diff --git a/docs/classes/Data_Grid.html b/docs/classes/Data_Grid.html index 2dbe5e7..08b9686 100644 --- a/docs/classes/Data_Grid.html +++ b/docs/classes/Data_Grid.html @@ -35,7 +35,9 @@
                      •  Errors  0
                      •  Markers  -
                        • +
                        •  Deprecated elements  0
                        • @@ -179,7 +181,7 @@
                          + generated on 2012-05-14T13:25:16-04:00.
                          diff --git a/docs/classes/Edit_DB.html b/docs/classes/Edit_DB.html index feae71c..59c0138 100644 --- a/docs/classes/Edit_DB.html +++ b/docs/classes/Edit_DB.html @@ -35,7 +35,9 @@
                        •  Errors  0
                        •  Markers  -
                          • +
                          •  Deprecated elements  0
                          • @@ -97,7 +99,7 @@
                            + generated on 2012-05-14T13:25:16-04:00.
                            diff --git a/docs/classes/Edit_Table.html b/docs/classes/Edit_Table.html index f669dcf..ca3ee4a 100644 --- a/docs/classes/Edit_Table.html +++ b/docs/classes/Edit_Table.html @@ -35,7 +35,9 @@
                          •  Errors  0
                          •  Markers  -
                            • +
                            •  Deprecated elements  0
                            • @@ -113,7 +115,7 @@
                              + generated on 2012-05-14T13:25:16-04:00.
                              diff --git a/docs/classes/Firebird.html b/docs/classes/Firebird.html index 13e2e85..d0740bc 100644 --- a/docs/classes/Firebird.html +++ b/docs/classes/Firebird.html @@ -35,7 +35,9 @@
                            •  Errors  0
                            •  Markers  -
                              • +
                              •  Deprecated elements  0
                              • @@ -76,6 +78,7 @@ method if the database does not support 'TRUNCATE';
                                empty_table()
                                getAttribute()
                              • getAvailableDrivers()
                                getAvailableDrivers()
                              • +
                              • Retrieve column information for the current database table
                                get_columns()
                              • Return list of dbs for the current connection, if possible
                                get_dbs()
                              • Return list of function for the current database
                                get_functions()
                              • Return the last error for the current database connection
                                get_last_error()
                              • @@ -88,6 +91,7 @@ the connection/database">Retreives an array of non-use the connection/database
                                get_system_tables()
                              • Return list of tables for the current database
                                get_tables()
                              • Return list of triggers for the current database
                                get_triggers()
                              • +
                              • Retrieve list of data types for the database
                                get_types()
                              • Return list of views for the current database
                                get_views()
                              • inTransaction()
                                inTransaction()
                              • @@ -106,6 +110,7 @@ the connection/database
                                get_system_tables()
                              • Doesn't apply to Firebird
                                switch_db()
                              • Empty a database table
                                truncate()
                              • +
                              • Helper method for quote_ident
                                _quote()
                              • Method to simplify retreiving db results for meta-data queries
                                driver_query()
                              • @@ -333,6 +338,25 @@ method if the database does not support 'TRUNCATE'; +
                                +

                                Retrieve column information for the current database table

                                +
                                get_columns(string $table) : array
                                +
                                Inherited
                                +
                                +

                                + + + +
                                inherited_from\DB_PDO::get_columns()
                                +

                                Parameters

                                +
                                +

                                $table

                                +string +
                                +

                                Returns

                                +
                                array
                                +
                                +

                                Return list of dbs for the current connection, if possible

                                get_dbs() : array
                                @@ -479,6 +503,20 @@ the connection/database
                                array
                                +
                                +

                                Retrieve list of data types for the database

                                +
                                get_types() : array
                                +
                                Inherited
                                +
                                +

                                + + + +
                                inherited_from\DB_PDO::get_types()
                                +

                                Returns

                                +
                                array
                                +
                                +

                                Return list of views for the current database

                                get_views() : array
                                @@ -720,6 +758,25 @@ the connection/database
                                +
                                +

                                Helper method for quote_ident

                                +
                                _quote(mixed $str) : mixed
                                +
                                Inherited
                                +
                                +

                                + + + +
                                inherited_from\DB_PDO::_quote()
                                +

                                Parameters

                                +
                                +

                                $str

                                +mixed +
                                +

                                Returns

                                +
                                mixed
                                +
                                +

                                Method to simplify retreiving db results for meta-data queries

                                driver_query(string $sql, bool $filtered_index) : mixed
                                @@ -813,7 +870,7 @@ the last query executed
                                + generated on 2012-05-14T13:25:16-04:00.
                                diff --git a/docs/classes/Firebird_Result.html b/docs/classes/Firebird_Result.html index 7899a91..77eda46 100644 --- a/docs/classes/Firebird_Result.html +++ b/docs/classes/Firebird_Result.html @@ -35,7 +35,9 @@
                              •  Errors  0
                              •  Markers  -
                                • +
                                  • todo  + 6 +
                                •  Deprecated elements  0
                                • @@ -504,7 +506,7 @@ the query
                                  + generated on 2012-05-14T13:25:16-04:00.
                                  diff --git a/docs/classes/Firebird_SQL.html b/docs/classes/Firebird_SQL.html index ab7120b..06720d9 100644 --- a/docs/classes/Firebird_SQL.html +++ b/docs/classes/Firebird_SQL.html @@ -35,7 +35,9 @@
                                •  Errors  0
                                •  Markers  -
                                  • +
                                    • todo  + 6 +
                                  •  Deprecated elements  0
                                  • @@ -72,6 +74,7 @@
                                  • Returns sql to list system tables
                                    system_table_list()
                                  • Returns sql to list tables
                                    table_list()
                                  • Returns sql to list triggers
                                    trigger_list()
                                  • +
                                  • SQL to show list of field types
                                    type_list()
                                  • Returns sql to list views
                                    view_list()
                                  • @@ -280,6 +283,16 @@
                                    string
                                    +
                                    +

                                    SQL to show list of field types

                                    +
                                    type_list() : string
                                    +
                                    +
                                    +

                                    +

                                    Returns

                                    +
                                    string
                                    +
                                    +

                                    Returns sql to list views

                                    view_list() : string
                                    @@ -297,7 +310,7 @@
                                    + generated on 2012-05-14T13:25:16-04:00.
                                    diff --git a/docs/classes/Firebird_Util.html b/docs/classes/Firebird_Util.html index 09b9f49..091c30f 100644 --- a/docs/classes/Firebird_Util.html +++ b/docs/classes/Firebird_Util.html @@ -35,7 +35,9 @@
                                  •  Errors  0
                                  •  Markers  -
                                    • +
                                      • todo  + 6 +
                                    •  Deprecated elements  0
                                    • @@ -212,7 +214,7 @@
                                      + generated on 2012-05-14T13:25:16-04:00.
                                      diff --git a/docs/classes/Main.html b/docs/classes/Main.html index 2e06647..c2cf454 100644 --- a/docs/classes/Main.html +++ b/docs/classes/Main.html @@ -35,7 +35,9 @@
                                    •  Errors  0
                                    •  Markers  -
                                      • +
                                        • todo  + 6 +
                                      •  Deprecated elements  0
                                      • @@ -145,7 +147,7 @@ Create menus, hboxes, vboxs and other widgets
                                        + generated on 2012-05-14T13:25:16-04:00.
                                        diff --git a/docs/classes/MySQL.html b/docs/classes/MySQL.html index dc124c7..92e0d96 100644 --- a/docs/classes/MySQL.html +++ b/docs/classes/MySQL.html @@ -35,7 +35,9 @@
                                      •  Errors  0
                                      •  Markers  -
                                        • +
                                          • todo  + 6 +
                                        •  Deprecated elements  0
                                        • @@ -80,6 +82,7 @@ method if the database does not support 'TRUNCATE';
                                          empty_table()
                                          getAttribute()
                                        • getAvailableDrivers()
                                          getAvailableDrivers()
                                        • +
                                        • Retrieve column information for the current database table
                                          get_columns()
                                        • Return list of dbs for the current connection, if possible
                                          get_dbs()
                                        • Return list of function for the current database
                                          get_functions()
                                        • Return the last error for the current database connection
                                          get_last_error()
                                        • @@ -92,6 +95,7 @@ the connection/database">Retreives an array of non-use the connection/database
                                          get_system_tables()
                                        • Return list of tables for the current database
                                          get_tables()
                                        • Return list of triggers for the current database
                                          get_triggers()
                                        • +
                                        • Retrieve list of data types for the database
                                          get_types()
                                        • Return list of views for the current database
                                          get_views()
                                        • inTransaction()
                                          inTransaction()
                                        • @@ -114,6 +118,7 @@ the connection/database
                                          get_system_tables()
                                        • Connect to a different database
                                          switch_db()
                                        • Empty a table
                                          truncate()
                                        • +
                                        • Helper method for quote_ident
                                          _quote()
                                        • Method to simplify retreiving db results for meta-data queries
                                          driver_query()
                                        • @@ -376,6 +381,25 @@ method if the database does not support 'TRUNCATE'; +
                                          +

                                          Retrieve column information for the current database table

                                          +
                                          get_columns(string $table) : array
                                          +
                                          Inherited
                                          +
                                          +

                                          + + + +
                                          inherited_from\DB_PDO::get_columns()
                                          +

                                          Parameters

                                          +
                                          +

                                          $table

                                          +string +
                                          +

                                          Returns

                                          +
                                          array
                                          +
                                          +

                                          Return list of dbs for the current connection, if possible

                                          get_dbs() : array
                                          @@ -522,6 +546,20 @@ the connection/database
                                          array
                                          +
                                          +

                                          Retrieve list of data types for the database

                                          +
                                          get_types() : array
                                          +
                                          Inherited
                                          +
                                          +

                                          + + + +
                                          inherited_from\DB_PDO::get_types()
                                          +

                                          Returns

                                          +
                                          array
                                          +
                                          +

                                          Return list of views for the current database

                                          get_views() : array
                                          @@ -775,6 +813,25 @@ the connection/database
                                          +
                                          +

                                          Helper method for quote_ident

                                          +
                                          _quote(mixed $str) : mixed
                                          +
                                          Inherited
                                          +
                                          +

                                          + + + +
                                          inherited_from\DB_PDO::_quote()
                                          +

                                          Parameters

                                          +
                                          +

                                          $str

                                          +mixed +
                                          +

                                          Returns

                                          +
                                          mixed
                                          +
                                          +

                                          Method to simplify retreiving db results for meta-data queries

                                          driver_query(string $sql, bool $filtered_index) : mixed
                                          @@ -849,7 +906,7 @@ the connection/database
                                          + generated on 2012-05-14T13:25:16-04:00.
                                          diff --git a/docs/classes/MySQL_SQL.html b/docs/classes/MySQL_SQL.html index 62b9bf0..13b8695 100644 --- a/docs/classes/MySQL_SQL.html +++ b/docs/classes/MySQL_SQL.html @@ -35,7 +35,9 @@
                                        •  Errors  0
                                        •  Markers  -
                                          • +
                                            • todo  + 6 +
                                          •  Deprecated elements  0
                                          • @@ -58,6 +60,7 @@
                                          • Get the 'average' keyword
                                            avg()
                                          • +
                                          • SQL to show infromation about columns in a table
                                            column_list()
                                          • Returns sql to list other databases
                                            db_list()
                                          • Get the 'distinct' keyword
                                            distinct()
                                          • Return sql to list functions
                                            function_list()
                                          • @@ -71,6 +74,7 @@
                                          • Overridden in MySQL class
                                            system_table_list()
                                          • Returns sql to list tables
                                            table_list()
                                          • Returns sql to list triggers
                                            trigger_list()
                                          • +
                                          • SQL to show list of field types
                                            type_list()
                                          • Returns sql to list views
                                            view_list()
                                          • @@ -105,6 +109,21 @@
                                            string
                                            +
                                            +

                                            SQL to show infromation about columns in a table

                                            +
                                            column_list(string $table) : string
                                            +
                                            +
                                            +

                                            +

                                            Parameters

                                            +
                                            +

                                            $table

                                            +string +
                                            +

                                            Returns

                                            +
                                            string
                                            +
                                            +

                                            Returns sql to list other databases

                                            db_list() : string
                                            @@ -246,10 +265,15 @@

                                            Returns sql to list tables

                                            -
                                            table_list() : string
                                            +
                                            table_list(string $database) : string

                                            +

                                            Parameters

                                            +
                                            +

                                            $database

                                            +string +

                                            Returns

                                            string
                                            @@ -264,6 +288,16 @@
                                            string
                                            +
                                            +

                                            SQL to show list of field types

                                            +
                                            type_list() : string
                                            +
                                            +
                                            +

                                            +

                                            Returns

                                            +
                                            string
                                            +
                                            +

                                            Returns sql to list views

                                            view_list() : string
                                            @@ -281,7 +315,7 @@
                                            + generated on 2012-05-14T13:25:16-04:00.
                                            diff --git a/docs/classes/MySQL_Util.html b/docs/classes/MySQL_Util.html index c6a3c04..24e8a56 100644 --- a/docs/classes/MySQL_Util.html +++ b/docs/classes/MySQL_Util.html @@ -35,7 +35,9 @@
                                          •  Errors  0
                                          •  Markers  -
                                            • +
                                              • todo  + 6 +
                                            •  Deprecated elements  0
                                            • @@ -208,7 +210,7 @@
                                              + generated on 2012-05-14T13:25:16-04:00.
                                              diff --git a/docs/classes/ODBC.html b/docs/classes/ODBC.html index 90a70d8..16c8cc4 100644 --- a/docs/classes/ODBC.html +++ b/docs/classes/ODBC.html @@ -35,7 +35,9 @@
                                            •  Errors  0
                                            •  Markers  -
                                              • +
                                                • todo  + 6 +
                                              •  Deprecated elements  0
                                              • @@ -80,6 +82,7 @@ method if the database does not support 'TRUNCATE';
                                                empty_table()
                                                getAttribute()
                                              • getAvailableDrivers()
                                                getAvailableDrivers()
                                              • +
                                              • Retrieve column information for the current database table
                                                get_columns()
                                              • Return list of dbs for the current connection, if possible
                                                get_dbs()
                                              • Return list of function for the current database
                                                get_functions()
                                              • Return the last error for the current database connection
                                                get_last_error()
                                              • @@ -92,6 +95,7 @@ the connection/database">Retreives an array of non-use the connection/database
                                                get_system_tables()
                                              • Return list of tables for the current database
                                                get_tables()
                                              • Return list of triggers for the current database
                                                get_triggers()
                                              • +
                                              • Retrieve list of data types for the database
                                                get_types()
                                              • Return list of views for the current database
                                                get_views()
                                              • inTransaction()
                                                inTransaction()
                                              • @@ -114,6 +118,7 @@ the connection/database
                                                get_system_tables()
                                              • Doesn't apply to ODBC
                                                switch_db()
                                              • Empty the current database
                                                truncate()
                                              • +
                                              • Helper method for quote_ident
                                                _quote()
                                              • Method to simplify retreiving db results for meta-data queries
                                                driver_query()
                                              • @@ -376,6 +381,25 @@ method if the database does not support 'TRUNCATE'; +
                                                +

                                                Retrieve column information for the current database table

                                                +
                                                get_columns(string $table) : array
                                                +
                                                Inherited
                                                +
                                                +

                                                + + + +
                                                inherited_from\DB_PDO::get_columns()
                                                +

                                                Parameters

                                                +
                                                +

                                                $table

                                                +string +
                                                +

                                                Returns

                                                +
                                                array
                                                +
                                                +

                                                Return list of dbs for the current connection, if possible

                                                get_dbs() : array
                                                @@ -522,6 +546,20 @@ the connection/database
                                                array
                                                +
                                                +

                                                Retrieve list of data types for the database

                                                +
                                                get_types() : array
                                                +
                                                Inherited
                                                +
                                                +

                                                + + + +
                                                inherited_from\DB_PDO::get_types()
                                                +

                                                Returns

                                                +
                                                array
                                                +
                                                +

                                                Return list of views for the current database

                                                get_views() : array
                                                @@ -777,6 +815,25 @@ the connection/database
                                                +
                                                +

                                                Helper method for quote_ident

                                                +
                                                _quote(mixed $str) : mixed
                                                +
                                                Inherited
                                                +
                                                +

                                                + + + +
                                                inherited_from\DB_PDO::_quote()
                                                +

                                                Parameters

                                                +
                                                +

                                                $str

                                                +mixed +
                                                +

                                                Returns

                                                +
                                                mixed
                                                +
                                                +

                                                Method to simplify retreiving db results for meta-data queries

                                                driver_query(string $sql, bool $filtered_index) : mixed
                                                @@ -851,7 +908,7 @@ the connection/database
                                                + generated on 2012-05-14T13:25:16-04:00.
                                                diff --git a/docs/classes/ODBC_SQL.html b/docs/classes/ODBC_SQL.html index 6bbe0e9..61280fa 100644 --- a/docs/classes/ODBC_SQL.html +++ b/docs/classes/ODBC_SQL.html @@ -35,7 +35,9 @@
                                              •  Errors  0
                                              •  Markers  -
                                                • +
                                                  • todo  + 6 +
                                                •  Deprecated elements  0
                                                • @@ -58,6 +60,7 @@
                                                • Get the 'average' keyword
                                                  avg()
                                                • +
                                                • SQL to show infromation about columns in a table
                                                  column_list()
                                                • Returns sql to list other databases
                                                  db_list()
                                                • Get the 'distinct' keyword
                                                  distinct()
                                                • Return sql to list functions
                                                  function_list()
                                                • @@ -71,6 +74,7 @@
                                                • Returns sql to list system tables
                                                  system_table_list()
                                                • Returns sql to list tables
                                                  table_list()
                                                • Returns sql to list triggers
                                                  trigger_list()
                                                • +
                                                • SQL to show list of field types
                                                  type_list()
                                                • Returns sql to list views
                                                  view_list()
                                                • @@ -105,6 +109,21 @@
                                                  string
                                                  +
                                                  +

                                                  SQL to show infromation about columns in a table

                                                  +
                                                  column_list(string $table) : FALSE
                                                  +
                                                  +
                                                  +

                                                  +

                                                  Parameters

                                                  +
                                                  +

                                                  $table

                                                  +string +
                                                  +

                                                  Returns

                                                  +
                                                  FALSE
                                                  +
                                                  +

                                                  Returns sql to list other databases

                                                  db_list() : FALSE
                                                  @@ -264,6 +283,16 @@
                                                  FALSE
                                                  +
                                                  +

                                                  SQL to show list of field types

                                                  +
                                                  type_list() : FALSE
                                                  +
                                                  +
                                                  +

                                                  +

                                                  Returns

                                                  +
                                                  FALSE
                                                  +
                                                  +

                                                  Returns sql to list views

                                                  view_list() : FALSE
                                                  @@ -281,7 +310,7 @@
                                                  + generated on 2012-05-14T13:25:16-04:00.
                                                  diff --git a/docs/classes/ODBC_Util.html b/docs/classes/ODBC_Util.html index 841780b..ac33dd6 100644 --- a/docs/classes/ODBC_Util.html +++ b/docs/classes/ODBC_Util.html @@ -35,7 +35,9 @@
                                                •  Errors  0
                                                •  Markers  -
                                                  • +
                                                    • todo  + 6 +
                                                  •  Deprecated elements  0
                                                  • @@ -203,7 +205,7 @@
                                                    + generated on 2012-05-14T13:25:16-04:00.
                                                    diff --git a/docs/classes/PgSQL.html b/docs/classes/PgSQL.html index 66635c6..f12db00 100644 --- a/docs/classes/PgSQL.html +++ b/docs/classes/PgSQL.html @@ -35,7 +35,9 @@
                                                  •  Errors  0
                                                  •  Markers  -
                                                    • +
                                                      • todo  + 6 +
                                                    •  Deprecated elements  0
                                                    • @@ -80,6 +82,7 @@ method if the database does not support 'TRUNCATE';
                                                      empty_table()
                                                      getAttribute()
                                                    • getAvailableDrivers()
                                                      getAvailableDrivers()
                                                    • +
                                                    • Retrieve column information for the current database table
                                                      get_columns()
                                                    • Return list of dbs for the current connection, if possible
                                                      get_dbs()
                                                    • Return list of function for the current database
                                                      get_functions()
                                                    • Return the last error for the current database connection
                                                      get_last_error()
                                                    • @@ -92,6 +95,7 @@ the connection/database">Retreives an array of non-use the connection/database
                                                      get_system_tables()
                                                    • Return list of tables for the current database
                                                      get_tables()
                                                    • Return list of triggers for the current database
                                                      get_triggers()
                                                    • +
                                                    • Retrieve list of data types for the database
                                                      get_types()
                                                    • Return list of views for the current database
                                                      get_views()
                                                    • inTransaction()
                                                      inTransaction()
                                                    • @@ -114,6 +118,7 @@ the connection/database
                                                      get_system_tables()
                                                    • Connect to a different database
                                                      switch_db()
                                                    • Empty a table
                                                      truncate()
                                                    • +
                                                    • Helper method for quote_ident
                                                      _quote()
                                                    • Method to simplify retreiving db results for meta-data queries
                                                      driver_query()
                                                    • @@ -376,6 +381,25 @@ method if the database does not support 'TRUNCATE'; +
                                                      +

                                                      Retrieve column information for the current database table

                                                      +
                                                      get_columns(string $table) : array
                                                      +
                                                      Inherited
                                                      +
                                                      +

                                                      + + + +
                                                      inherited_from\DB_PDO::get_columns()
                                                      +

                                                      Parameters

                                                      +
                                                      +

                                                      $table

                                                      +string +
                                                      +

                                                      Returns

                                                      +
                                                      array
                                                      +
                                                      +

                                                      Return list of dbs for the current connection, if possible

                                                      get_dbs() : array
                                                      @@ -518,6 +542,20 @@ the connection/database
                                                      array
                                                      +
                                                      +

                                                      Retrieve list of data types for the database

                                                      +
                                                      get_types() : array
                                                      +
                                                      Inherited
                                                      +
                                                      +

                                                      + + + +
                                                      inherited_from\DB_PDO::get_types()
                                                      +

                                                      Returns

                                                      +
                                                      array
                                                      +
                                                      +

                                                      Return list of views for the current database

                                                      get_views() : array
                                                      @@ -771,6 +809,25 @@ the connection/database
                                                      +
                                                      +

                                                      Helper method for quote_ident

                                                      +
                                                      _quote(mixed $str) : mixed
                                                      +
                                                      Inherited
                                                      +
                                                      +

                                                      + + + +
                                                      inherited_from\DB_PDO::_quote()
                                                      +

                                                      Parameters

                                                      +
                                                      +

                                                      $str

                                                      +mixed +
                                                      +

                                                      Returns

                                                      +
                                                      mixed
                                                      +
                                                      +

                                                      Method to simplify retreiving db results for meta-data queries

                                                      driver_query(string $sql, bool $filtered_index) : mixed
                                                      @@ -851,7 +908,7 @@ the connection/database
                                                      + generated on 2012-05-14T13:25:16-04:00.
                                                      diff --git a/docs/classes/PgSQL_SQL.html b/docs/classes/PgSQL_SQL.html index f0c83d8..49e5a03 100644 --- a/docs/classes/PgSQL_SQL.html +++ b/docs/classes/PgSQL_SQL.html @@ -35,7 +35,9 @@
                                                    •  Errors  0
                                                    •  Markers  -
                                                      • +
                                                        • todo  + 6 +
                                                      •  Deprecated elements  0
                                                      • @@ -72,6 +74,7 @@
                                                      • Returns sql to list system tables
                                                        system_table_list()
                                                      • Returns sql to list tables
                                                        table_list()
                                                      • Returns sql to list triggers
                                                        trigger_list()
                                                      • +
                                                      • SQL to show list of field types
                                                        type_list()
                                                      • Returns sql to list views
                                                        view_list()
                                                      • @@ -280,6 +283,16 @@
                                                        string
                                                        +
                                                        +

                                                        SQL to show list of field types

                                                        +
                                                        type_list() : string
                                                        +
                                                        +
                                                        +

                                                        +

                                                        Returns

                                                        +
                                                        string
                                                        +
                                                        +

                                                        Returns sql to list views

                                                        view_list() : string
                                                        @@ -297,7 +310,7 @@
                                                        + generated on 2012-05-14T13:25:16-04:00.
                                                        diff --git a/docs/classes/PgSQL_Util.html b/docs/classes/PgSQL_Util.html index bea01e5..1b05f41 100644 --- a/docs/classes/PgSQL_Util.html +++ b/docs/classes/PgSQL_Util.html @@ -35,7 +35,9 @@
                                                      •  Errors  0
                                                      •  Markers  -
                                                        • +
                                                          • todo  + 6 +
                                                        •  Deprecated elements  0
                                                        • @@ -208,7 +210,7 @@
                                                          + generated on 2012-05-14T13:25:16-04:00.
                                                          diff --git a/docs/classes/Query_Builder.html b/docs/classes/Query_Builder.html index 36c82e0..06036ee 100644 --- a/docs/classes/Query_Builder.html +++ b/docs/classes/Query_Builder.html @@ -35,7 +35,9 @@
                                                        •  Errors  0
                                                        •  Markers  -
                                                          • +
                                                            • todo  + 6 +
                                                          •  Deprecated elements  0
                                                          • @@ -108,14 +110,17 @@ passed array with key / value pairs
                                                            where()
                                                          • WHERE NOT IN (FOO) clause
                                                            where_not_in()
                                                          • String together the sql statements for sending to the db
                                                            _compile()
                                                          • +
                                                          • Simplify building having clauses
                                                            _having()
                                                          • Simplify 'like' methods
                                                            _like()
                                                          • Clear out the class variables, so the next query can be run
                                                            _reset()
                                                          • Method to simplify select_ methods
                                                            _select()
                                                          • Do all the repeditive stuff for where/having type methods
                                                            _where()
                                                          • Simplify where_in methods
                                                            _where_in()
                                                          • +
                                                          • Simplify generating where string
                                                            _where_string()
                                                          • Convenience property for connection management
                                                            $conn_name
                                                          • +
                                                          • Alias to $this->db->sql
                                                            $sql
                                                          • Compiled 'from' clause
                                                            $from_string
                                                          • Key/val pairs for group by clause
                                                            $group_array
                                                          • @@ -131,7 +136,6 @@ for complex select queries
                                                            $query_map
                                                          • Compiled 'select' clause
                                                            $select_string
                                                          • Keys for insert/update statement
                                                            $set_array_keys
                                                          • Compiled arguments for insert / update
                                                            $set_string
                                                          • -
                                                          • Alias to $this->db->sql
                                                            $sql
                                                          • Values to apply to prepared statements
                                                            $values
                                                          • @@ -619,7 +623,7 @@ prefixed with 'OR NOT'

                                                            Where clause prefixed with "OR"

                                                            -
                                                            or_where(string $field, mixed $val) : \Query_Builder
                                                            +
                                                            or_where(string $key, mixed $val) : \Query_Builder

                                                            @@ -629,7 +633,7 @@ prefixed with 'OR NOT'

                                                            Parameters

                                                            -

                                                            $field

                                                            +

                                                            $key

                                                            string
                                                            @@ -952,12 +956,43 @@ passed array with key / value pairs
                                                            \$string
                                                            -
                                                            -

                                                            Simplify 'like' methods

                                                            -
                                                            _like(string $field, mixed $val, string $pos, string $like, string $conj) 
                                                            +
                                                            +

                                                            Simplify building having clauses

                                                            +
                                                            _having(mixed $key, mixed $val, string $conj) : \Query_Builder

                                                            + + + +
                                                            fluentThis method is part of a fluent interface and will return the same instance
                                                            +

                                                            Parameters

                                                            +
                                                            +

                                                            $key

                                                            +mixed +
                                                            +
                                                            +

                                                            $val

                                                            +mixed +
                                                            +
                                                            +

                                                            $conj

                                                            +string +
                                                            +

                                                            Returns

                                                            + +
                                                            +
                                                            +
                                                            +

                                                            Simplify 'like' methods

                                                            +
                                                            _like(string $field, mixed $val, string $pos, string $like, string $conj) : \Query_Builder
                                                            +
                                                            +
                                                            +

                                                            + + + +
                                                            fluentThis method is part of a fluent interface and will return the same instance

                                                            Parameters

                                                            $field

                                                            @@ -979,11 +1014,13 @@ passed array with key / value pairs

                                                            $conj

                                                            string
                                                            +

                                                            Returns

                                                            +

                                                            Clear out the class variables, so the next query can be run

                                                            -
                                                            _reset() 
                                                            +
                                                            _reset() : void

                                                            @@ -1027,10 +1064,14 @@ passed array with key / value pairs

                                                            Simplify where_in methods

                                                            -
                                                            _where_in(mixed $key, mixed $val, $in, $conj) : void
                                                            +
                                                            _where_in(mixed $key, mixed $val, $in, $conj) : \Query_Builder

                                                            + + + +
                                                            fluentThis method is part of a fluent interface and will return the same instance

                                                            Parameters

                                                            $key

                                                            @@ -1046,6 +1087,35 @@ passed array with key / value pairs

                                                            $conj

                                                            string

                                                            +

                                                            Returns

                                                            + +
                                                            +
                                                            +
                                                            +

                                                            Simplify generating where string

                                                            +
                                                            _where_string(mixed $key, mixed $val, string $conj) : \Query_Builder
                                                            +
                                                            +
                                                            +

                                                            + + + +
                                                            fluentThis method is part of a fluent interface and will return the same instance
                                                            +

                                                            Parameters

                                                            +
                                                            +

                                                            $key

                                                            +mixed +
                                                            +
                                                            +

                                                            $val

                                                            +mixed +
                                                            +
                                                            +

                                                            $conj

                                                            +string +
                                                            +

                                                            Returns

                                                            +

                                                            @@ -1056,6 +1126,12 @@ passed array with key / value pairs

                                                            + 
                                                            +

                                                            Alias to $this->db->sql

                                                            +
                                                            $sql : \DB_PDO
                                                            +
                                                            +

                                                            +
                                                             

                                                            Compiled 'from' clause

                                                            $from_string : string
                                                            @@ -1135,12 +1211,6 @@ for complex select queries

                                                            - 
                                                            -

                                                            Alias to $this->db->sql

                                                            -
                                                            $sql : \DB_PDO
                                                            -
                                                            -

                                                            -
                                                             

                                                            Values to apply to prepared statements

                                                            $values : array
                                                            @@ -1154,7 +1224,7 @@ for complex select queries
                                                            + generated on 2012-05-14T13:25:16-04:00.
                                                            diff --git a/docs/classes/SQLite.html b/docs/classes/SQLite.html index 9286902..8120e78 100644 --- a/docs/classes/SQLite.html +++ b/docs/classes/SQLite.html @@ -35,7 +35,9 @@
                                                          •  Errors  0
                                                          •  Markers  -
                                                            • +
                                                              • todo  + 6 +
                                                            •  Deprecated elements  0
                                                            • @@ -80,6 +82,7 @@ method if the database does not support 'TRUNCATE';
                                                              empty_table()
                                                              getAttribute()
                                                            • getAvailableDrivers()
                                                              getAvailableDrivers()
                                                            • +
                                                            • Retrieve column information for the current database table
                                                              get_columns()
                                                            • Return list of dbs for the current connection, if possible
                                                              get_dbs()
                                                            • Return list of function for the current database
                                                              get_functions()
                                                            • Return the last error for the current database connection
                                                              get_last_error()
                                                            • @@ -90,6 +93,7 @@ method if the database does not support 'TRUNCATE';
                                                              empty_table()List system tables for the current database
                                                              get_system_tables()
                                                            • List tables for the current database
                                                              get_tables()
                                                            • Return list of triggers for the current database
                                                              get_triggers()
                                                            • +
                                                            • Retrieve list of data types for the database
                                                              get_types()
                                                            • Return list of views for the current database
                                                              get_views()
                                                            • inTransaction()
                                                              inTransaction()
                                                            • @@ -114,6 +118,7 @@ method if the database does not support 'TRUNCATE';
                                                              empty_table()Empty a table
                                                              truncate()
                                                            • Unload a database from the current connection
                                                              unload_database()
                                                            • +
                                                            • Helper method for quote_ident
                                                              _quote()
                                                            • Method to simplify retreiving db results for meta-data queries
                                                              driver_query()
                                                            • @@ -372,6 +377,25 @@ method if the database does not support 'TRUNCATE'; +
                                                              +

                                                              Retrieve column information for the current database table

                                                              +
                                                              get_columns(string $table) : array
                                                              +
                                                              Inherited
                                                              +
                                                              +

                                                              + + + +
                                                              inherited_from\DB_PDO::get_columns()
                                                              +

                                                              Parameters

                                                              +
                                                              +

                                                              $table

                                                              +string +
                                                              +

                                                              Returns

                                                              +
                                                              array
                                                              +
                                                              +

                                                              Return list of dbs for the current connection, if possible

                                                              get_dbs() : array
                                                              @@ -509,6 +533,20 @@ method if the database does not support 'TRUNCATE';
                                                              array
                                                              +
                                                              +

                                                              Retrieve list of data types for the database

                                                              +
                                                              get_types() : array
                                                              +
                                                              Inherited
                                                              +
                                                              +

                                                              + + + +
                                                              inherited_from\DB_PDO::get_types()
                                                              +

                                                              Returns

                                                              +
                                                              array
                                                              +
                                                              +

                                                              Return list of views for the current database

                                                              get_views() : array
                                                              @@ -792,6 +830,25 @@ method if the database does not support 'TRUNCATE';
                                                              +
                                                              +

                                                              Helper method for quote_ident

                                                              +
                                                              _quote(mixed $str) : mixed
                                                              +
                                                              Inherited
                                                              +
                                                              +

                                                              + + + +
                                                              inherited_from\DB_PDO::_quote()
                                                              +

                                                              Parameters

                                                              +
                                                              +

                                                              $str

                                                              +mixed +
                                                              +

                                                              Returns

                                                              +
                                                              mixed
                                                              +
                                                              +

                                                              Method to simplify retreiving db results for meta-data queries

                                                              driver_query(string $sql, bool $filtered_index) : mixed
                                                              @@ -866,7 +923,7 @@ method if the database does not support 'TRUNCATE';
                                                              + generated on 2012-05-14T13:25:16-04:00.
                                                              diff --git a/docs/classes/SQLite_SQL.html b/docs/classes/SQLite_SQL.html index 1d9fa4b..2e45858 100644 --- a/docs/classes/SQLite_SQL.html +++ b/docs/classes/SQLite_SQL.html @@ -35,7 +35,9 @@
                                                            •  Errors  0
                                                            •  Markers  -
                                                              • +
                                                                • todo  + 6 +
                                                              •  Deprecated elements  0
                                                              • @@ -58,6 +60,7 @@
                                                              • Get the 'average' keyword
                                                                avg()
                                                              • +
                                                              • SQL to show infromation about columns in a table
                                                                column_list()
                                                              • Returns sql to list other databases
                                                                db_list()
                                                              • Get the 'distinct' keyword
                                                                distinct()
                                                              • Return sql to list functions
                                                                function_list()
                                                              • @@ -71,6 +74,7 @@
                                                              • Overridden in SQLite class
                                                                system_table_list()
                                                              • Returns sql to list tables
                                                                table_list()
                                                              • Returns sql to list triggers
                                                                trigger_list()
                                                              • +
                                                              • SQL to show list of field types
                                                                type_list()
                                                              • Returns sql to list views
                                                                view_list()
                                                              • @@ -105,6 +109,21 @@
                                                                string
                                                                +
                                                                +

                                                                SQL to show infromation about columns in a table

                                                                +
                                                                column_list(string $table) : string
                                                                +
                                                                +
                                                                +

                                                                +

                                                                Parameters

                                                                +
                                                                +

                                                                $table

                                                                +string +
                                                                +

                                                                Returns

                                                                +
                                                                string
                                                                +
                                                                +

                                                                Returns sql to list other databases

                                                                db_list() : FALSE
                                                                @@ -264,6 +283,16 @@
                                                                FALSE
                                                                +
                                                                +

                                                                SQL to show list of field types

                                                                +
                                                                type_list() : array
                                                                +
                                                                +
                                                                +

                                                                +

                                                                Returns

                                                                +
                                                                array
                                                                +
                                                                +

                                                                Returns sql to list views

                                                                view_list() : string
                                                                @@ -281,7 +310,7 @@
                                                                + generated on 2012-05-14T13:25:16-04:00.
                                                                diff --git a/docs/classes/SQLite_Util.html b/docs/classes/SQLite_Util.html index b90fc06..b6e316a 100644 --- a/docs/classes/SQLite_Util.html +++ b/docs/classes/SQLite_Util.html @@ -35,7 +35,9 @@
                                                              •  Errors  0
                                                              •  Markers  -
                                                                • +
                                                                  • todo  + 6 +
                                                                •  Deprecated elements  0
                                                                • @@ -208,7 +210,7 @@
                                                                  + generated on 2012-05-14T13:25:16-04:00.
                                                                  diff --git a/docs/classes/Settings.html b/docs/classes/Settings.html index 3123b12..b43b817 100644 --- a/docs/classes/Settings.html +++ b/docs/classes/Settings.html @@ -35,7 +35,9 @@
                                                                •  Errors  0
                                                                •  Markers  -
                                                                  • +
                                                                    • todo  + 6 +
                                                                  •  Deprecated elements  0
                                                                  • @@ -244,7 +246,7 @@ directly - the settings should be safe!
                                                                    + generated on 2012-05-14T13:25:16-04:00.
                                                                    diff --git a/docs/deprecated.html b/docs/deprecated.html index f6c641a..22b8f6b 100644 --- a/docs/deprecated.html +++ b/docs/deprecated.html @@ -35,7 +35,9 @@
                                                                  •  Errors  0
                                                                  •  Markers  -
                                                                    • +
                                                                      • todo  + 6 +
                                                                    •  Deprecated elements  0
                                                                    • @@ -67,7 +69,7 @@
                                                                      + generated on 2012-05-14T13:25:16-04:00.
                                                                      diff --git a/docs/errors.html b/docs/errors.html index fff39cd..516261b 100644 --- a/docs/errors.html +++ b/docs/errors.html @@ -35,7 +35,9 @@
                                                                    •  Errors  0
                                                                    •  Markers  -
                                                                      • +
                                                                        • todo  + 6 +
                                                                      •  Deprecated elements  0
                                                                      • @@ -105,7 +107,7 @@
                                                                        + generated on 2012-05-14T13:25:16-04:00.
                                                                        diff --git a/docs/graph_class.html b/docs/graph_class.html index 9e3523e..e02babc 100644 --- a/docs/graph_class.html +++ b/docs/graph_class.html @@ -35,7 +35,9 @@
                                                                      •  Errors  0
                                                                      •  Markers  -
                                                                        • +
                                                                          • todo  + 6 +
                                                                        •  Deprecated elements  0
                                                                        • @@ -64,7 +66,7 @@
                                                                          + generated on 2012-05-14T13:25:16-04:00.
                                                                          diff --git a/docs/index.html b/docs/index.html index b641705..f79e972 100644 --- a/docs/index.html +++ b/docs/index.html @@ -35,7 +35,9 @@
                                                                        •  Errors  0
                                                                        •  Markers  -
                                                                          • +
                                                                            • todo  + 6 +
                                                                          •  Deprecated elements  0
                                                                          • @@ -71,7 +73,9 @@
                                                                          •  Errors  0
                                                                          •  Markers  -
                                                                            • +
                                                                              • todo  + 6 +
                                                                            •  Deprecated elements  0
                                                                            • @@ -80,7 +84,7 @@
                                                                              + generated on 2012-05-14T13:25:16-04:00.
                                                                              diff --git a/docs/markers.html b/docs/markers.html index c8a7557..b8c22b4 100644 --- a/docs/markers.html +++ b/docs/markers.html @@ -35,7 +35,9 @@
                                                                            •  Errors  0
                                                                            •  Markers  -
                                                                              • +
                                                                                • todo  + 6 +
                                                                              •  Deprecated elements  0
                                                                              • @@ -50,7 +52,15 @@ if Javascript is enabled.
                                                                                -
                                                                                +
                                                                                -
                                                                                No markers have been found in this project.
                                                                                The following markers were found: -
                                                                                  +
                                                                                  • todo  + 6 +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  +

                                                                                  +sys/db/classes/query_builder.php1 +

                                                                                  +
                                                                                  + + + + + + + + + + +
                                                                                  TypeLineDescription
                                                                                  todo805make able to handle operators without spaces
                                                                                  +
                                                                                  +
                                                                                  +

                                                                                  +sys/db/drivers/pgsql/pgsql_util.php1 +

                                                                                  +
                                                                                  + + + + + + + + + + +
                                                                                  TypeLineDescription
                                                                                  todo114Implement Backup function
                                                                                  +
                                                                                  +
                                                                                  +

                                                                                  +sys/db/drivers/pgsql/pgsql_driver.php1 +

                                                                                  +
                                                                                  + + + + + + + + + + +
                                                                                  TypeLineDescription
                                                                                  todo46Implement
                                                                                  +
                                                                                  +
                                                                                  +

                                                                                  +sys/db/drivers/mysql/mysql_util.php1 +

                                                                                  +
                                                                                  + + + + + + + + + + +
                                                                                  TypeLineDescription
                                                                                  todo141Implement Backup function
                                                                                  +
                                                                                  +
                                                                                  +

                                                                                  +sys/db/drivers/mysql/mysql_driver.php1 +

                                                                                  +
                                                                                  + + + + + + + + + + +
                                                                                  TypeLineDescription
                                                                                  todo57Implement
                                                                                  +
                                                                                  +
                                                                                  +

                                                                                  +sys/db/drivers/firebird/firebird_util.php1 +

                                                                                  +
                                                                                  + + + + + + + + + + +
                                                                                  TypeLineDescription
                                                                                  todo117Implement Backup structure function
                                                                                  +
                                                                                  -
                                                                                  + generated on 2012-05-14T13:25:16-04:00.
                                                                                  diff --git a/docs/namespaces/default.html b/docs/namespaces/default.html index fa1163e..25b8b22 100644 --- a/docs/namespaces/default.html +++ b/docs/namespaces/default.html @@ -35,7 +35,9 @@
                                                                                •  Errors  0
                                                                                •  Markers  -
                                                                                  • +
                                                                                    • todo  + 6 +
                                                                                  •  Deprecated elements  0
                                                                                  • @@ -489,7 +491,7 @@ instantiates the specific db driver

                                                                                    + generated on 2012-05-14T13:25:16-04:00.
                                                                                    diff --git a/docs/packages/.html b/docs/packages/.html index 9a98fbd..5b92a9b 100644 --- a/docs/packages/.html +++ b/docs/packages/.html @@ -35,7 +35,9 @@
                                                                                  •  Errors  0
                                                                                  •  Markers  -
                                                                                    • +
                                                                                      • todo  + 6 +
                                                                                    •  Deprecated elements  0
                                                                                    • @@ -67,7 +69,7 @@
                                                                                      + generated on 2012-05-14T13:25:16-04:00.
                                                                                      diff --git a/docs/packages/Default.html b/docs/packages/Default.html index 620c4c5..22035d8 100644 --- a/docs/packages/Default.html +++ b/docs/packages/Default.html @@ -35,7 +35,9 @@
                                                                                    •  Errors  0
                                                                                    •  Markers  -
                                                                                      • +
                                                                                        • todo  + 6 +
                                                                                      •  Deprecated elements  0
                                                                                      • @@ -122,7 +124,7 @@
                                                                                        + generated on 2012-05-14T13:25:16-04:00.
                                                                                        diff --git a/docs/packages/OpenSQLManager.Widgets.html b/docs/packages/OpenSQLManager.Widgets.html index 1d5a4b8..cbcbed0 100644 --- a/docs/packages/OpenSQLManager.Widgets.html +++ b/docs/packages/OpenSQLManager.Widgets.html @@ -35,7 +35,9 @@
                                                                                      •  Errors  0
                                                                                      •  Markers  -
                                                                                        • +
                                                                                          • todo  + 6 +
                                                                                        •  Deprecated elements  0
                                                                                        • @@ -121,7 +123,7 @@
                                                                                          + generated on 2012-05-14T13:25:16-04:00.
                                                                                          diff --git a/docs/packages/OpenSQLManager.Windows.html b/docs/packages/OpenSQLManager.Windows.html index 8601e13..b163ade 100644 --- a/docs/packages/OpenSQLManager.Windows.html +++ b/docs/packages/OpenSQLManager.Windows.html @@ -35,7 +35,9 @@
                                                                                        •  Errors  0
                                                                                        •  Markers  -
                                                                                          • +
                                                                                            • todo  + 6 +
                                                                                          •  Deprecated elements  0
                                                                                          • @@ -121,7 +123,7 @@
                                                                                            + generated on 2012-05-14T13:25:16-04:00.
                                                                                            diff --git a/docs/packages/OpenSQLManager.html b/docs/packages/OpenSQLManager.html index 611adcd..f017cd7 100644 --- a/docs/packages/OpenSQLManager.html +++ b/docs/packages/OpenSQLManager.html @@ -35,7 +35,9 @@
                                                                                          •  Errors  0
                                                                                          •  Markers  -
                                                                                            • +
                                                                                              • todo  + 6 +
                                                                                            •  Deprecated elements  0
                                                                                            • @@ -301,7 +303,7 @@ with array_map and glob
                                                                                              + generated on 2012-05-14T13:25:16-04:00.
                                                                                              diff --git a/docs/packages/Query.Drivers.html b/docs/packages/Query.Drivers.html index 4c058d5..cc30c7d 100644 --- a/docs/packages/Query.Drivers.html +++ b/docs/packages/Query.Drivers.html @@ -35,7 +35,9 @@
                                                                                            •  Errors  0
                                                                                            •  Markers  -
                                                                                              • +
                                                                                                • todo  + 6 +
                                                                                              •  Deprecated elements  0
                                                                                              • @@ -211,7 +213,7 @@ data-fetching methods

                                                                                                + generated on 2012-05-14T13:25:16-04:00.
                                                                                                diff --git a/docs/packages/Query.Helper Classes.html b/docs/packages/Query.Helper Classes.html index 7a49798..e4d8a3d 100644 --- a/docs/packages/Query.Helper Classes.html +++ b/docs/packages/Query.Helper Classes.html @@ -35,7 +35,9 @@
                                                                                              •  Errors  0
                                                                                              •  Markers  -
                                                                                                • +
                                                                                                  • todo  + 6 +
                                                                                                •  Deprecated elements  0
                                                                                                • @@ -97,7 +99,7 @@
                                                                                                  + generated on 2012-05-14T13:25:16-04:00.
                                                                                                  diff --git a/docs/packages/Query.Query.html b/docs/packages/Query.Query.html index 69e8648..be7848d 100644 --- a/docs/packages/Query.Query.html +++ b/docs/packages/Query.Query.html @@ -35,7 +35,9 @@
                                                                                                •  Errors  0
                                                                                                •  Markers  -
                                                                                                  • +
                                                                                                    • todo  + 6 +
                                                                                                  •  Deprecated elements  0
                                                                                                  • @@ -115,7 +117,7 @@ instantiates the specific db driver

                                                                                                    + generated on 2012-05-14T13:25:16-04:00.
                                                                                                    diff --git a/docs/packages/Query.html b/docs/packages/Query.html index ab01fda..fd94cd0 100644 --- a/docs/packages/Query.html +++ b/docs/packages/Query.html @@ -35,7 +35,9 @@
                                                                                                  •  Errors  0
                                                                                                  •  Markers  -
                                                                                                    • +
                                                                                                      • todo  + 6 +
                                                                                                    •  Deprecated elements  0
                                                                                                    • @@ -316,7 +318,7 @@ instantiates the specific db driver

                                                                                                      + generated on 2012-05-14T13:25:16-04:00.
                                                                                                      diff --git a/docs/structure.xml b/docs/structure.xml index 4ba9c37..e2a3a53 100644 --- a/docs/structure.xml +++ b/docs/structure.xml @@ -1,5 +1,106 @@ + + + + Free Database manager for Open Source Databases

                                                                                                      ]]>
                                                                                                      + + + + + +
                                                                                                      + + /db/autoload.php + + + BASE_DIR + + + + SETTINGS_DIR + + + + PROGRAM_NAME + + + + VERSION + + + + log_fatal + function + + + + + + + exception_error_handler + function + + + + + int + + + string + + + string + + + int + + + \ErrorException + + + + $errno + + + + + $errstr + + + + + $errfile + + + + + $errline + + + + + + do_include + function + + + + + string + + + void + + + + $path + + + + +
                                                                                                      @@ -297,7 +398,7 @@ directly - the settings should be safe!]]> - + Free Query Builder / Database Abstraction Layer

                                                                                                      ]]>
                                                                                                      @@ -508,9 +609,38 @@ directly - the settings should be safe!]]>
                                                                                                      + + type_list + function + + + + + mixed + + + + + column_list + function + + + + + + string + + + + $table + + + +
                                                                                                      - + Free Query Builder / Database Abstraction Layer

                                                                                                      ]]>
                                                                                                      @@ -736,197 +866,246 @@ directly - the settings should be safe!]]> - - empty_table + + _quote function - - + + - - string + + mixed - + mixed - + + $str + + + + + + empty_table + function + + + + + string + + + mixed + + + $table - + get_schemas function - + - + array - + get_tables function - + - + array - + get_dbs function - + - + array - + get_views function - + - + array - + get_sequences function - + - + array - + get_functions function - + - + array - + get_procedures function - + - + array - + get_triggers function - + - + array - + get_system_tables function - + - + array - - driver_query + + get_columns function - - + + - + string - + + array + + + + $table + + + + + + get_types + function + + + + + array + + + + + driver_query + function + + + + + string + + bool - + mixed - + $sql - + $filtered_index - + num_rows function - + - + int - + truncate function - + - + string - + void - + $table - + switch_db function - + - + string - + void - + $name @@ -934,7 +1113,7 @@ the connection/database]]>
                                                                                                      - + Free Query Builder / Database Abstraction Layer

                                                                                                      ]]>
                                                                                                      @@ -944,6 +1123,9 @@ the connection/database]]>
                                                                                                      + + make able to handle operators without spaces + Query_Builder \Query_Builder @@ -1076,7 +1258,7 @@ instantiates the specific db driver]]> - + $sql @@ -1143,233 +1325,236 @@ for complex select queries]]> - + select function - + - + string - + \$this - + $fields - + _select function - + - + string - + string - + string - + $field - + $as - + select_max function - + - + string - + string - + \$this - + $field - + $as - + select_min function - + - + string - + string - + \$this - + $field - + $as - + select_avg function - + - + string - + string - + \$this - + $field - + $as - + select_sum function - + - + string - + string - + \$this - + $field - + $as - + distinct function - + - + \$this - + from function - + - + string - + \$this - + $dbname - + _like function - + - + string - + mixed - + string - + string - + string + + \$this + - + $field - + $val - + $pos - + $like - + $conj @@ -1410,830 +1595,903 @@ for complex select queries]]> - + or_like function - + - + string - + mixed - + string - + \$this - + $field - + $val - + $pos - + not_like function - + - + string - + mixed - + string - + \$this - + $field - + $val - + $pos - + or_not_like function - + - + string - + mixed - + string - + \$this - + $field - + $val - + $pos - - having + + _having function - - + + - + mixed - + mixed - + + string + + \$this - + $key - + $val - - - or_having - function - - - - - mixed - - - mixed - - - \$this - - - - $key - - - - - $val - - - - - - _where - function - - - - - mixed - - - mixed - - - array - - - - $key - - - - - $val - - - - - - _where_in - function - - - - - mixed - - - mixed - - - - - void - - - - $key - - - - - $val - - - - - $in - - - - + $conj - + + having + function + + + + + mixed + + + mixed + + + \$this + + + + $key + + + + + $val + + + + + + or_having + function + + + + + mixed + + + mixed + + + \$this + + + + $key + + + + + $val + + + + + + _where + function + + + + + mixed + + + mixed + + + array + + + + $key + + + + + $val + + + + + + _where_string + function + + + + + mixed + + + mixed + + + string + + + \$this + + + + $key + + + + + $val + + + + + $conj + + + + + + _where_in + function + + + + + mixed + + + mixed + + + + + \$this + + + + $key + + + + + $val + + + + + $in + + + + + $conj + + + + + where function - + - + mixed - + mixed - + \$this - + $key - + $val - + or_where function - + - + string - + mixed - + \$this - - $field - - - - - $val - - - - - - where_in - function - - - - - mixed - - - mixed - - - \$this - - - - $field - - - - - $val - - - - - - or_where_in - function - - - - - string - - - mixed - - - \$this - - - - $field - - - - - $val - - - - - - where_not_in - function - - - - - string - - - mixed - - - \$this - - - - $field - - - - - $val - - - - - - or_where_not_in - function - - - - - string - - - mixed - - - \$this - - - - $field - - - - - $val - - - - - - set - function - - - - - mixed - - - mixed - - - \$this - - - + $key - + + $val + + + + + + where_in + function + + + + + mixed + + + mixed + + + \$this + + + + $field + + + + + $val + + + + + + or_where_in + function + + + + + string + + + mixed + + + \$this + + + + $field + + + + + $val + + + + + + where_not_in + function + + + + + string + + + mixed + + + \$this + + + + $field + + + + + $val + + + + + + or_where_not_in + function + + + + + string + + + mixed + + + \$this + + + + $field + + + + + $val + + + + + + set + function + + + + + mixed + + + mixed + + + \$this + + + + $key + + + + $val - + join function - + - + string - + string - + string - + \$this - + $table - + $condition - + $type - + group_by function - + - + mixed - + \$this - + $field - + order_by function - + - + string - + string - + \$this - + $field - + $type - + limit function - + - + int - + int - + string - + $limit - + $offset - + group_start function - + - + \$this - + or_group_start function - + - + \$this - + or_not_group_start function - + - + \$this - + group_end function - + - + \$this - + get function - + - - + + int - + int - + object - + $table - + $limit - + $offset - + get_where function - + - + string - + array - + int - + int - + object - + $table - + $where - + $limit - + $offset - + count_all function - + - + string - + int - + $table - + count_all_results function - + - + string - + int - + $table - + insert function - + - + string - + mixed - + mixed - + $table - + $data - + update function - + - + string - + mixed - + mixed - + $table - + $data - + delete function - + - + string - + mixed - + mixed - + $table - + $where - + __call function - + - + string - + array - + mixed - + $name - + $params - + _reset function - + + + void + - + _compile function - + - + string - + string - + \$string - + $type - + $table @@ -2399,7 +2657,7 @@ in place of the get() method]]>
                                                                                                      - + Free Query Builder / Database Abstraction Layer

                                                                                                      ]]>
                                                                                                      @@ -2473,7 +2731,7 @@ with array_map and glob]]>
                                                                                                      - + Free Query Builder / Database Abstraction Layer

                                                                                                      ]]>
                                                                                                      @@ -2645,9 +2903,20 @@ with array_map and glob]]> + + type_list + function + + + + + string + + +
                                                                                                      - + Free Query Builder / Database Abstraction Layer

                                                                                                      ]]>
                                                                                                      @@ -2657,6 +2926,9 @@ with array_map and glob]]>
                                                                                                      + + Implement Backup function + PgSQL_Util \PgSQL_Util @@ -2780,7 +3052,7 @@ with array_map and glob]]>
                                                                                                      - + Free Query Builder / Database Abstraction Layer

                                                                                                      ]]>
                                                                                                      @@ -2790,6 +3062,9 @@ with array_map and glob]]>
                                                                                                      + + Implement + PgSQL \PgSQL @@ -3010,7 +3285,7 @@ with array_map and glob]]>
                                                                                                      - + Free Query Builder / Database Abstraction Layer

                                                                                                      ]]>
                                                                                                      @@ -3164,6 +3439,36 @@ with array_map and glob]]>
                                                                                                      + + type_list + function + + + + + FALSE + + + + + column_list + function + + + + + string + + + FALSE + + + + $table + + + +
                                                                                                      @@ -3274,7 +3579,7 @@ with array_map and glob]]> - + Free Query Builder / Database Abstraction Layer

                                                                                                      ]]>
                                                                                                      @@ -3284,6 +3589,9 @@ with array_map and glob]]>
                                                                                                      + + Implement Backup function + MySQL_Util \MySQL_Util @@ -3386,20 +3694,20 @@ with array_map and glob]]> - + backup_data function - + - + array - + string - + $exclude @@ -3407,7 +3715,7 @@ with array_map and glob]]>
                                                                                                      - + Free Query Builder / Database Abstraction Layer

                                                                                                      ]]>
                                                                                                      @@ -3417,6 +3725,9 @@ with array_map and glob]]>
                                                                                                      + + Implement + MySQL \MySQL @@ -3512,7 +3823,7 @@ with array_map and glob]]>
                                                                                                      - + Free Query Builder / Database Abstraction Layer

                                                                                                      ]]>
                                                                                                      @@ -3589,83 +3900,121 @@ with array_map and glob]]>
                                                                                                      - + table_list function + + string + string + + $database + + + - + system_table_list function - + - + string - + view_list function - + - + string - + trigger_list function - + - + string - + function_list function - + - + string - + procedure_list function - + - + string - + sequence_list function - + - + FALSE + + type_list + function + + + + + string + + + + + column_list + function + + + + + string + + + string + + + + $table + + + +
                                                                                                      @@ -3960,7 +4309,7 @@ with array_map and glob]]> - + Free Query Builder / Database Abstraction Layer

                                                                                                      ]]>
                                                                                                      @@ -4114,9 +4463,39 @@ with array_map and glob]]>
                                                                                                      + + type_list + function + + + + + array + + + + + column_list + function + + + + + string + + + string + + + + $table + + + +
                                                                                                      - + Free Query Builder / Database Abstraction Layer

                                                                                                      ]]>
                                                                                                      @@ -4289,6 +4668,17 @@ with array_map and glob]]> + + type_list + function + + + + + string + + +
                                                                                                      @@ -4983,7 +5373,7 @@ the last query executed]]> - + Free Query Builder / Database Abstraction Layer

                                                                                                      ]]>
                                                                                                      @@ -4993,6 +5383,9 @@ the last query executed]]>
                                                                                                      + + Implement Backup structure function + Firebird_Util \Firebird_Util @@ -5124,7 +5517,7 @@ the last query executed]]>
                                                                                                      - + Free Database manager for Open Source Databases

                                                                                                      ]]>
                                                                                                      @@ -5222,7 +5615,7 @@ the last query executed]]>
                                                                                                      - + Free Database manager for Open Source Databases

                                                                                                      ]]>
                                                                                                      @@ -5587,7 +5980,7 @@ the last query executed]]>
                                                                                                      - + Free Database manager for Open Source Databases

                                                                                                      ]]>
                                                                                                      @@ -5774,7 +6167,7 @@ the last query executed]]>
                                                                                                      - + Free Database manager for Open Source Databases

                                                                                                      ]]>
                                                                                                      @@ -6090,7 +6483,7 @@ the last query executed]]>
                                                                                                      - + Free Database manager for Open Source Databases

                                                                                                      ]]>
                                                                                                      @@ -6723,107 +7116,6 @@ Create menus, hboxes, vboxs and other widgets]]>
                                                                                                      - - - - Free Database manager for Open Source Databases

                                                                                                      ]]>
                                                                                                      - - - - - -
                                                                                                      - - /db/autoload.php - - - BASE_DIR - - - - SETTINGS_DIR - - - - PROGRAM_NAME - - - - VERSION - - - - log_fatal - function - - - - - - - exception_error_handler - function - - - - - int - - - string - - - string - - - int - - - \ErrorException - - - - $errno - - - - - $errstr - - - - - $errfile - - - - - $errline - - - - - - do_include - function - - - - - string - - - void - - - - $path - - - - -
                                                                                                      @@ -6836,7 +7128,7 @@ with array_map and glob]]> - todo + todo fixme
                                                                                                      diff --git a/sys/common/functions.php b/sys/common/functions.php index 4764ac7..4afb007 100644 --- a/sys/common/functions.php +++ b/sys/common/functions.php @@ -30,7 +30,7 @@ function array_to_object($array) $obj = new StdClass(); - foreach($array as $k => $v) + foreach($array as $k => &$v) { $obj->$k = $v; } diff --git a/sys/db b/sys/db index f43e3c7..bf3b072 160000 --- a/sys/db +++ b/sys/db @@ -1 +1 @@ -Subproject commit f43e3c7ccf1e4d63ba67f6ac51184f6b14818ce4 +Subproject commit bf3b0721243c81674333361fff4edbbcdcfe0a61 diff --git a/sys/widgets/connection_sidebar.php b/sys/widgets/connection_sidebar.php index 19dc27f..635d505 100644 --- a/sys/widgets/connection_sidebar.php +++ b/sys/widgets/connection_sidebar.php @@ -126,7 +126,7 @@ class Connection_Sidebar extends GtkVBox { $db_conns = $this->settings->get_dbs(); if( ! empty($db_conns)) { - foreach($db_conns as $name => $props) + foreach($db_conns as $name => &$props) { if (is_array($props)) { @@ -459,4 +459,4 @@ class Connection_Sidebar extends GtkVBox { } } } -// End of connection_sidebar.php +// End of connection_sidebar.php \ No newline at end of file diff --git a/sys/widgets/data_grid.php b/sys/widgets/data_grid.php index 6413636..81f38e2 100644 --- a/sys/widgets/data_grid.php +++ b/sys/widgets/data_grid.php @@ -90,7 +90,7 @@ class Data_Grid extends GtkTreeView { $cols = $this->get_columns(); - foreach($cols as $c) + foreach($cols as &$c) { $this->remove_column($c); } @@ -159,7 +159,7 @@ class Data_Grid extends GtkTreeView { $j = -1; $vals = array($row); - foreach($data[$i] as $v) + foreach($data[$i] as &$v) { $vals[] = ++$j; $vals[] = trim($v); @@ -169,7 +169,7 @@ class Data_Grid extends GtkTreeView { } // Add columns to view - foreach($cols as $i => $c) + foreach($cols as $i => &$c) { $renderer = new GtkCellRendererText(); $renderer->set_property('editable', TRUE); diff --git a/sys/widgets/db_info_widget.php b/sys/widgets/db_info_widget.php index 13182ca..8634a64 100644 --- a/sys/widgets/db_info_widget.php +++ b/sys/widgets/db_info_widget.php @@ -189,7 +189,7 @@ class DB_Info_Widget extends GtkTable { // Populate the available database types $db_types = $this->get_available_dbs(); - foreach($db_types as $t) + foreach($db_types as &$t) { $this->dbtype->append_text($t); } @@ -490,7 +490,7 @@ class DB_Info_Widget extends GtkTable { $pdo_drivers = pdo_drivers(); // Add PDO drivers - foreach($pdo_drivers as $d) + foreach($pdo_drivers as &$d) { // Skip sqlite2 as opposed to sqlite3 if($d === 'sqlite2' && (in_array('sqlite', $pdo_drivers) || in_array('sqlite3', $pdo_drivers))) diff --git a/sys/widgets/db_tabs.php b/sys/widgets/db_tabs.php index 317263c..ba7fe64 100644 --- a/sys/widgets/db_tabs.php +++ b/sys/widgets/db_tabs.php @@ -219,7 +219,7 @@ class DB_tabs extends GtkNotebook { if ($tab_data !== FALSE) { - foreach($tab_data as $d) + foreach($tab_data as &$d) { $tab_model->append(null, array($d)); } @@ -230,7 +230,7 @@ class DB_tabs extends GtkNotebook { if ( ! empty($events)) { - foreach($events as $method) + foreach($events as &$method) { call_user_func_array(array($tab, 'connect'), $method); } @@ -322,4 +322,4 @@ class DB_tabs extends GtkNotebook { self::$instance->data->{$conn_name}[$tab_name] = $data; } } -// End of db_tabs.php +// End of db_tabs.php \ No newline at end of file