diff --git a/docs/classes/DB.html b/docs/classes/DB.html index a602b03..5e6e321 100644 --- a/docs/classes/DB.html +++ b/docs/classes/DB.html @@ -35,7 +35,9 @@
  •  Errors  0
  •  Markers  -
  • +
  •  Deprecated elements  0
  • @@ -120,6 +122,7 @@ passed array with key / value pairs
    where()
  • 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
  • @@ -136,7 +139,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
  • @@ -1395,6 +1397,18 @@ passed array with key / value pairs + 
    +

    Alias to $this->db->sql

    +
    $sql : \DB_PDO
    +
    Inherited
    +
    +

    + + + +
    inherited_from\Query_Builder::$$sql
    +
    +
     

    Compiled 'from' clause

    $from_string : string
    @@ -1552,18 +1566,6 @@ for complex select queries
    - 
    -

    Alias to $this->db->sql

    -
    $sql : \DB_PDO
    -
    Inherited
    -
    -

    - - - -
    inherited_from\Query_Builder::$$sql
    -
    -
     

    Values to apply to prepared statements

    $values : array
    @@ -1583,7 +1585,7 @@ for complex select queries
    + generated on 2012-05-14T14:05:53-04:00.
    diff --git a/docs/classes/DB_PDO.html b/docs/classes/DB_PDO.html index c4abd25..cab3cbb 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()
  • @@ -315,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
    @@ -421,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
    @@ -679,7 +708,7 @@ the connection/database
    + generated on 2012-05-14T14:05:53-04:00.
    diff --git a/docs/classes/DB_Reg.html b/docs/classes/DB_Reg.html index a927da9..58bd6a0 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-14T14:05:53-04:00.
      diff --git a/docs/classes/DB_SQL.html b/docs/classes/DB_SQL.html index 2e69274..f5c5492 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-14T14:05:53-04:00.
        diff --git a/docs/classes/DB_Util.html b/docs/classes/DB_Util.html index 7c65a05..001c8f5 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-14T14:05:53-04:00.
          diff --git a/docs/classes/Firebird.html b/docs/classes/Firebird.html index 4a81138..80b9821 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()
          • @@ -334,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
            @@ -480,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
            @@ -833,7 +870,7 @@ the last query executed
            + generated on 2012-05-14T14:05:53-04:00.
            diff --git a/docs/classes/Firebird_Result.html b/docs/classes/Firebird_Result.html index 70daefb..f35b663 100644 --- a/docs/classes/Firebird_Result.html +++ b/docs/classes/Firebird_Result.html @@ -35,7 +35,9 @@
          •  Errors  0
          •  Markers  -
            • +
            •  Deprecated elements  0
            • @@ -504,7 +506,7 @@ the query
              + generated on 2012-05-14T14:05:53-04:00.
              diff --git a/docs/classes/Firebird_SQL.html b/docs/classes/Firebird_SQL.html index e674aea..c004da2 100644 --- a/docs/classes/Firebird_SQL.html +++ b/docs/classes/Firebird_SQL.html @@ -35,7 +35,9 @@
            •  Errors  0
            •  Markers  -
              • +
              •  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-14T14:05:53-04:00.
                diff --git a/docs/classes/Firebird_Util.html b/docs/classes/Firebird_Util.html index 680a3a1..481f3d9 100644 --- a/docs/classes/Firebird_Util.html +++ b/docs/classes/Firebird_Util.html @@ -35,7 +35,9 @@
              •  Errors  0
              •  Markers  -
                • +
                •  Deprecated elements  0
                • @@ -212,7 +214,7 @@
                  + generated on 2012-05-14T14:05:53-04:00.
                  diff --git a/docs/classes/MM.html b/docs/classes/MM.html index 85fd8cf..80755c3 100644 --- a/docs/classes/MM.html +++ b/docs/classes/MM.html @@ -35,7 +35,9 @@
                •  Errors  0
                •  Markers  -
                  • +
                  •  Deprecated elements  0
                  • @@ -434,7 +436,7 @@ dynamic methods
                    + generated on 2012-05-14T14:05:53-04:00.
                    diff --git a/docs/classes/MM_Controller.html b/docs/classes/MM_Controller.html index 5235b69..5de85e1 100644 --- a/docs/classes/MM_Controller.html +++ b/docs/classes/MM_Controller.html @@ -35,7 +35,9 @@
                  •  Errors  0
                  •  Markers  -
                    • +
                    •  Deprecated elements  0
                    • @@ -760,7 +762,7 @@
                      + generated on 2012-05-14T14:05:53-04:00.
                      diff --git a/docs/classes/MM_Model.html b/docs/classes/MM_Model.html index f557bf9..c073a5c 100644 --- a/docs/classes/MM_Model.html +++ b/docs/classes/MM_Model.html @@ -35,7 +35,9 @@
                    •  Errors  0
                    •  Markers  -
                      • +
                      •  Deprecated elements  0
                      • @@ -724,7 +726,7 @@
                        + generated on 2012-05-14T14:05:53-04:00.
                        diff --git a/docs/classes/MM_Output.html b/docs/classes/MM_Output.html index 0fe0ab8..3562934 100644 --- a/docs/classes/MM_Output.html +++ b/docs/classes/MM_Output.html @@ -35,7 +35,9 @@
                      •  Errors  0
                      •  Markers  -
                        • +
                        •  Deprecated elements  0
                        • @@ -640,7 +642,7 @@ Used for outputing HTML
                          + generated on 2012-05-14T14:05:53-04:00.
                          diff --git a/docs/classes/MM_Page.html b/docs/classes/MM_Page.html index d0188ce..8e4d99b 100644 --- a/docs/classes/MM_Page.html +++ b/docs/classes/MM_Page.html @@ -35,7 +35,9 @@
                        •  Errors  0
                        •  Markers  -
                          • +
                          •  Deprecated elements  0
                          • @@ -972,7 +974,7 @@ supports

                            + generated on 2012-05-14T14:05:53-04:00.
                            diff --git a/docs/classes/MM_Session.html b/docs/classes/MM_Session.html index 1b389b5..708a7b0 100644 --- a/docs/classes/MM_Session.html +++ b/docs/classes/MM_Session.html @@ -35,7 +35,9 @@
                          •  Errors  0
                          •  Markers  -
                            • +
                            •  Deprecated elements  0
                            • @@ -144,7 +146,7 @@
                              + generated on 2012-05-14T14:05:53-04:00.
                              diff --git a/docs/classes/MySQL.html b/docs/classes/MySQL.html index d34985e..d233094 100644 --- a/docs/classes/MySQL.html +++ b/docs/classes/MySQL.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()
                              • @@ -377,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
                                @@ -523,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
                                @@ -869,7 +906,7 @@ the connection/database
                                + generated on 2012-05-14T14:05:53-04:00.
                                diff --git a/docs/classes/MySQL_SQL.html b/docs/classes/MySQL_SQL.html index f6e640a..bfd9531 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-14T14:05:53-04:00.
                                  diff --git a/docs/classes/MySQL_Util.html b/docs/classes/MySQL_Util.html index e4644f2..736079f 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-14T14:05:53-04:00.
                                    diff --git a/docs/classes/ODBC.html b/docs/classes/ODBC.html index 89c920e..6925f15 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()
                                    • @@ -377,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
                                      @@ -523,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
                                      @@ -871,7 +908,7 @@ the connection/database
                                      + generated on 2012-05-14T14:05:53-04:00.
                                      diff --git a/docs/classes/ODBC_SQL.html b/docs/classes/ODBC_SQL.html index 69c3dda..14af1d8 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-14T14:05:53-04:00.
                                        diff --git a/docs/classes/ODBC_Util.html b/docs/classes/ODBC_Util.html index 32713cf..d80f42f 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-14T14:05:53-04:00.
                                          diff --git a/docs/classes/PgSQL.html b/docs/classes/PgSQL.html index 24593b8..b8c2d15 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()
                                          • @@ -377,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
                                            @@ -519,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
                                            @@ -871,7 +908,7 @@ the connection/database
                                            + generated on 2012-05-14T14:05:53-04:00.
                                            diff --git a/docs/classes/PgSQL_SQL.html b/docs/classes/PgSQL_SQL.html index 4de955d..feda8d6 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-14T14:05:53-04:00.
                                              diff --git a/docs/classes/PgSQL_Util.html b/docs/classes/PgSQL_Util.html index 1779500..7d89fb1 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-14T14:05:53-04:00.
                                                diff --git a/docs/classes/Query_Builder.html b/docs/classes/Query_Builder.html index 4e19e3b..751a0d4 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
                                                • @@ -118,6 +120,7 @@ passed array with key / value pairs
                                                  where()
                                                • 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
                                                • @@ -133,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
                                                • @@ -1124,6 +1126,12 @@ passed array with key / value pairs

                                                  + 
                                                  +

                                                  Alias to $this->db->sql

                                                  +
                                                  $sql : \DB_PDO
                                                  +
                                                  +

                                                  +
                                                   

                                                  Compiled 'from' clause

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

                                                  - 
                                                  -

                                                  Alias to $this->db->sql

                                                  -
                                                  $sql : \DB_PDO
                                                  -
                                                  -

                                                  -
                                                   

                                                  Values to apply to prepared statements

                                                  $values : array
                                                  @@ -1222,7 +1224,7 @@ for complex select queries
                                                  + generated on 2012-05-14T14:05:53-04:00.
                                                  diff --git a/docs/classes/SQLite.html b/docs/classes/SQLite.html index 8b2f5cd..a2945b0 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()
                                                  • @@ -373,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
                                                    @@ -510,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
                                                    @@ -886,7 +923,7 @@ method if the database does not support 'TRUNCATE';
                                                    + generated on 2012-05-14T14:05:53-04:00.
                                                    diff --git a/docs/classes/SQLite_SQL.html b/docs/classes/SQLite_SQL.html index 439eddb..fbe22bd 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-14T14:05:53-04:00.
                                                      diff --git a/docs/classes/SQLite_Util.html b/docs/classes/SQLite_Util.html index 68a5c11..7c70983 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-14T14:05:53-04:00.
                                                        diff --git a/docs/classes/Settings.html b/docs/classes/Settings.html index 0e42203..6df3349 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-14T14:05:53-04:00.
                                                          diff --git a/docs/classes/Welcome.html b/docs/classes/Welcome.html index e6cddf8..c33a5b7 100644 --- a/docs/classes/Welcome.html +++ b/docs/classes/Welcome.html @@ -35,7 +35,9 @@
                                                        •  Errors  0
                                                        •  Markers  -
                                                          • +
                                                            • todo  + 6 +
                                                          •  Deprecated elements  0
                                                          • @@ -902,7 +904,7 @@
                                                            + generated on 2012-05-14T14:05:53-04:00.
                                                            diff --git a/docs/classes/Welcome_Model.html b/docs/classes/Welcome_Model.html index ef6ec03..621c5a5 100644 --- a/docs/classes/Welcome_Model.html +++ b/docs/classes/Welcome_Model.html @@ -35,7 +35,9 @@
                                                          •  Errors  0
                                                          •  Markers  -
                                                            • +
                                                              • todo  + 6 +
                                                            •  Deprecated elements  0
                                                            • @@ -842,7 +844,7 @@
                                                              + generated on 2012-05-14T14:05:53-04:00.
                                                              diff --git a/docs/classes/miniMVC.html b/docs/classes/miniMVC.html index 615161d..6f67354 100644 --- a/docs/classes/miniMVC.html +++ b/docs/classes/miniMVC.html @@ -35,7 +35,9 @@
                                                            •  Errors  0
                                                            •  Markers  -
                                                              • +
                                                                • todo  + 6 +
                                                              •  Deprecated elements  0
                                                              • @@ -611,7 +613,7 @@
                                                                + generated on 2012-05-14T14:05:53-04:00.
                                                                diff --git a/docs/deprecated.html b/docs/deprecated.html index e1deff8..0dcaaab 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-14T14:05:53-04:00.
                                                                  diff --git a/docs/errors.html b/docs/errors.html index b9031d5..e8795e3 100644 --- a/docs/errors.html +++ b/docs/errors.html @@ -35,7 +35,9 @@
                                                                •  Errors  0
                                                                •  Markers  -
                                                                  • +
                                                                    • todo  + 6 +
                                                                  •  Deprecated elements  0
                                                                  • @@ -107,7 +109,7 @@
                                                                    + generated on 2012-05-14T14:05:53-04:00.
                                                                    diff --git a/docs/graph_class.html b/docs/graph_class.html index 5bf45a6..3acc308 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-14T14:05:53-04:00.
                                                                      diff --git a/docs/index.html b/docs/index.html index 5cadc84..72e80c4 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-14T14:05:53-04:00.
                                                                          diff --git a/docs/markers.html b/docs/markers.html index edb35b5..aebb8ee 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-14T14:05:53-04:00.
                                                                              diff --git a/docs/namespaces/default.html b/docs/namespaces/default.html index 2c20f61..78a02a5 100644 --- a/docs/namespaces/default.html +++ b/docs/namespaces/default.html @@ -35,7 +35,9 @@
                                                                            •  Errors  0
                                                                            •  Markers  -
                                                                              • +
                                                                                • todo  + 6 +
                                                                              •  Deprecated elements  0
                                                                              • @@ -702,7 +704,7 @@ instantiates the specific db driver

                                                                                + generated on 2012-05-14T14:05:53-04:00.
                                                                                diff --git a/docs/packages/.html b/docs/packages/.html index a2d00ca..2b39caa 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-14T14:05:53-04:00.
                                                                                  diff --git a/docs/packages/Default.html b/docs/packages/Default.html index c73922a..ea51adc 100644 --- a/docs/packages/Default.html +++ b/docs/packages/Default.html @@ -35,7 +35,9 @@
                                                                                •  Errors  0
                                                                                •  Markers  -
                                                                                  • +
                                                                                    • todo  + 6 +
                                                                                  •  Deprecated elements  0
                                                                                  • @@ -185,7 +187,7 @@
                                                                                    + generated on 2012-05-14T14:05:53-04:00.
                                                                                    diff --git a/docs/packages/Query.Drivers.html b/docs/packages/Query.Drivers.html index ec01ebc..fd4cdd1 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-14T14:05:53-04:00.
                                                                                      diff --git a/docs/packages/Query.Helper Classes.html b/docs/packages/Query.Helper Classes.html index 9fae29b..7d76cfe 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-14T14:05:53-04:00.
                                                                                        diff --git a/docs/packages/Query.Query.html b/docs/packages/Query.Query.html index c7d59c4..4b88ede 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-14T14:05:53-04:00.
                                                                                          diff --git a/docs/packages/Query.html b/docs/packages/Query.html index da06713..fae4b62 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-14T14:05:53-04:00.
                                                                                            diff --git a/docs/packages/miniMVC.App.html b/docs/packages/miniMVC.App.html index e03d5a0..efb47fd 100644 --- a/docs/packages/miniMVC.App.html +++ b/docs/packages/miniMVC.App.html @@ -35,7 +35,9 @@
                                                                                          •  Errors  0
                                                                                          •  Markers  -
                                                                                            • +
                                                                                              • todo  + 6 +
                                                                                            •  Deprecated elements  0
                                                                                            • @@ -139,7 +141,7 @@
                                                                                              + generated on 2012-05-14T14:05:53-04:00.
                                                                                              diff --git a/docs/packages/miniMVC.Libraries.html b/docs/packages/miniMVC.Libraries.html index dc6cd4b..f2f424b 100644 --- a/docs/packages/miniMVC.Libraries.html +++ b/docs/packages/miniMVC.Libraries.html @@ -35,7 +35,9 @@
                                                                                            •  Errors  0
                                                                                            •  Markers  -
                                                                                              • +
                                                                                                • todo  + 6 +
                                                                                              •  Deprecated elements  0
                                                                                              • @@ -89,7 +91,7 @@
                                                                                                + generated on 2012-05-14T14:05:53-04:00.
                                                                                                diff --git a/docs/packages/miniMVC.System.html b/docs/packages/miniMVC.System.html index 55e66f4..5cbffce 100644 --- a/docs/packages/miniMVC.System.html +++ b/docs/packages/miniMVC.System.html @@ -35,7 +35,9 @@
                                                                                              •  Errors  0
                                                                                              •  Markers  -
                                                                                                • +
                                                                                                  • todo  + 6 +
                                                                                                •  Deprecated elements  0
                                                                                                • @@ -137,7 +139,7 @@
                                                                                                  + generated on 2012-05-14T14:05:53-04:00.
                                                                                                  diff --git a/docs/packages/miniMVC.html b/docs/packages/miniMVC.html index 671c746..c7b26e8 100644 --- a/docs/packages/miniMVC.html +++ b/docs/packages/miniMVC.html @@ -35,7 +35,9 @@
                                                                                                •  Errors  0
                                                                                                •  Markers  -
                                                                                                  • +
                                                                                                    • todo  + 6 +
                                                                                                  •  Deprecated elements  0
                                                                                                  • @@ -488,7 +490,7 @@ display them cleanly
                                                                                                    + generated on 2012-05-14T14:05:53-04:00.
                                                                                                    diff --git a/docs/structure.xml b/docs/structure.xml index 456a724..a77f72a 100644 --- a/docs/structure.xml +++ b/docs/structure.xml @@ -297,7 +297,7 @@ directly - the settings should be safe!]]> - + Free Query Builder / Database Abstraction Layer

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

                                                                                                    ]]>
                                                                                                    @@ -875,77 +904,107 @@ the connection/database]]>
                                                                                                    - - driver_query + + get_columns function - + - + string - - bool - - - mixed + + array - - $sql - - - - - $filtered_index - - - - - - num_rows - function - - - - - int - - - - - truncate - function - - - - - string - - - void - - - + $table - - switch_db + + 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 @@ -953,7 +1012,7 @@ the connection/database]]>
                                                                                                    - + Free Query Builder / Database Abstraction Layer

                                                                                                    ]]>
                                                                                                    @@ -963,6 +1022,9 @@ the connection/database]]>
                                                                                                    + + make able to handle operators without spaces + Query_Builder \Query_Builder @@ -1095,7 +1157,7 @@ instantiates the specific db driver]]> - + $sql @@ -2494,7 +2556,7 @@ in place of the get() method]]>
                                                                                                    - + Free Query Builder / Database Abstraction Layer

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

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

                                                                                                    ]]>
                                                                                                    @@ -2752,6 +2825,9 @@ with array_map and glob]]>
                                                                                                    + + Implement Backup function + PgSQL_Util \PgSQL_Util @@ -2875,7 +2951,7 @@ with array_map and glob]]>
                                                                                                    - + Free Query Builder / Database Abstraction Layer

                                                                                                    ]]>
                                                                                                    @@ -2885,6 +2961,9 @@ with array_map and glob]]>
                                                                                                    + + Implement + PgSQL \PgSQL @@ -3105,7 +3184,7 @@ with array_map and glob]]>
                                                                                                    - + Free Query Builder / Database Abstraction Layer

                                                                                                    ]]>
                                                                                                    @@ -3259,6 +3338,36 @@ with array_map and glob]]>
                                                                                                    + + type_list + function + + + + + FALSE + + + + + column_list + function + + + + + string + + + FALSE + + + + $table + + + +
                                                                                                    @@ -3369,7 +3478,7 @@ with array_map and glob]]> - + Free Query Builder / Database Abstraction Layer

                                                                                                    ]]>
                                                                                                    @@ -3379,6 +3488,9 @@ with array_map and glob]]>
                                                                                                    + + Implement Backup function + MySQL_Util \MySQL_Util @@ -3481,20 +3593,20 @@ with array_map and glob]]> - + backup_data function - + - + array - + string - + $exclude @@ -3502,7 +3614,7 @@ with array_map and glob]]>
                                                                                                    - + Free Query Builder / Database Abstraction Layer

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

                                                                                                    ]]>
                                                                                                    @@ -3684,83 +3799,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 + + + +
                                                                                                    @@ -4055,7 +4208,7 @@ with array_map and glob]]> - + Free Query Builder / Database Abstraction Layer

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

                                                                                                    ]]>
                                                                                                    @@ -4384,6 +4567,17 @@ with array_map and glob]]> + + type_list + function + + + + + string + + +
                                                                                                    @@ -5078,7 +5272,7 @@ the last query executed]]> - + Free Query Builder / Database Abstraction Layer

                                                                                                    ]]>
                                                                                                    @@ -5088,6 +5282,9 @@ the last query executed]]>
                                                                                                    + + Implement Backup structure function + Firebird_Util \Firebird_Util @@ -7035,7 +7232,7 @@ display them cleanly]]> - todo + todo fixme diff --git a/sys/db/autoload.php b/sys/db/autoload.php index e95de2c..83df138 100644 --- a/sys/db/autoload.php +++ b/sys/db/autoload.php @@ -75,7 +75,7 @@ function db_filter($array, $index) { $new_array = array(); - foreach($array as $a) + foreach($array as &$a) { $new_array[] = $a[$index]; } diff --git a/sys/db/classes/db_pdo.php b/sys/db/classes/db_pdo.php index 78c22d9..33f1b12 100644 --- a/sys/db/classes/db_pdo.php +++ b/sys/db/classes/db_pdo.php @@ -107,7 +107,7 @@ abstract class DB_PDO extends PDO { } // Bind the parameters - foreach($data as $k => $value) + foreach($data as $k => &$value) { if(is_numeric($k)) { @@ -366,6 +366,31 @@ abstract class DB_PDO extends PDO { { return $this->driver_query($this->sql->system_table_list()); } + + // -------------------------------------------------------------------------- + + /** + * Retrieve column information for the current database table + * + * @param string $table + * @return array + */ + public function get_columns($table) + { + return $this->driver_query($this->sql->column_list($table), FALSE); + } + + // -------------------------------------------------------------------------- + + /** + * Retrieve list of data types for the database + * + * @return array + */ + public function get_types() + { + return $this->driver_query($this->sql->type_list(), FALSE); + } // ------------------------------------------------------------------------- @@ -378,10 +403,17 @@ abstract class DB_PDO extends PDO { */ protected function driver_query($sql, $filtered_index=TRUE) { + // Return if the query doesn't apply to the driver if ($sql === FALSE) { return FALSE; } + + // Return predefined data + if (is_array($sql)) + { + return $sql; + } $res = $this->query($sql); diff --git a/sys/db/classes/db_sql.php b/sys/db/classes/db_sql.php index 30f3d18..016b530 100644 --- a/sys/db/classes/db_sql.php +++ b/sys/db/classes/db_sql.php @@ -161,5 +161,21 @@ abstract class DB_SQL { * @return string */ abstract public function sequence_list(); + + /** + * Return sql to list database field types + * + * @return mixed + */ + abstract public function type_list(); + + /** + * Get information about the columns in the + * specified table + * + * @param string + * @return string + */ + abstract public function column_list($table); } // End of db_sql.php \ No newline at end of file diff --git a/sys/db/classes/query_builder.php b/sys/db/classes/query_builder.php index 257874f..679c26c 100644 --- a/sys/db/classes/query_builder.php +++ b/sys/db/classes/query_builder.php @@ -116,7 +116,7 @@ class Query_Builder { * * @var DB_PDO */ - private $sql; + public $sql; /** * Query component order mapping @@ -237,7 +237,7 @@ class Query_Builder { $fields_array = array_map('trim', $fields_array); // Split on 'As' - foreach ($fields_array as $key => $field) + foreach ($fields_array as $key => &$field) { if (stripos($field, 'as') !== FALSE) { @@ -512,7 +512,7 @@ class Query_Builder { $where = $this->_where($key, $val); // Create key/value placeholders - foreach($where as $f => $val) + foreach($where as $f => &$val) { // Split each key by spaces, in case there // is an operator such as >, <, !=, etc. @@ -585,7 +585,7 @@ class Query_Builder { // Array or object, loop through and add to the where array elseif ( ! is_scalar($key)) { - foreach($key as $k => $v) + foreach($key as $k => &$v) { $where[$k] = $v; $this->values[] = $v; @@ -610,7 +610,7 @@ class Query_Builder { $where = $this->_where($key, $val); // Create key/value placeholders - foreach($where as $f => $val) + foreach($where as $f => &$val) { // Split each key by spaces, in case there // is an operator such as >, <, !=, etc. @@ -648,7 +648,7 @@ class Query_Builder { $key = $this->quote_ident($key); $params = array_fill(0, count($val), '?'); - foreach($val as $v) + foreach($val as &$v) { $this->values[] = $v; } @@ -772,7 +772,7 @@ class Query_Builder { // Object or array elseif ( ! is_scalar($key)) { - foreach($key as $k => $v) + foreach($key as $k => &$v) { $this->set_array_keys[] = $k; $this->values[] = $v; @@ -802,7 +802,7 @@ class Query_Builder { */ public function join($table, $condition, $type='') { - // @todo make able to handle operators without spaces + // TODO make able to handle operators without spaces $table = implode(" ", array_map(array($this->db, 'quote_ident'), explode(' ', trim($table)))); //$condition = preg_replace('`(\W)`', " $1 ", $condition); @@ -869,7 +869,7 @@ class Query_Builder { $order_clauses = array(); // Flatten key/val pairs into an array of space-separated pairs - foreach($this->order_array as $k => $v) + foreach($this->order_array as $k => &$v) { $order_clauses[] = $k . ' ' . strtoupper($v); } @@ -1209,7 +1209,7 @@ class Query_Builder { // Only unset class variables that // are not callable. Otherwise, we'll // delete class methods! - foreach($this as $name => $var) + foreach($this as $name => &$var) { // Skip properties that are needed for every query if (in_array($name, array( @@ -1265,7 +1265,7 @@ class Query_Builder { // Set the where string if ( ! empty($this->query_map)) { - foreach($this->query_map as $q) + foreach($this->query_map as &$q) { $sql .= $q['conjunction'] . $q['string']; } @@ -1280,7 +1280,7 @@ class Query_Builder { // Set the having string if ( ! empty($this->having_map)) { - foreach($this->having_map as $h) + foreach($this->having_map as &$h) { $sql .= $h['conjunction'] . $h['string']; } @@ -1313,7 +1313,7 @@ class Query_Builder { // Set the where string if ( ! empty($this->query_map)) { - foreach($this->query_map as $q) + foreach($this->query_map as &$q) { $sql .= $q['conjunction'] . $q['string']; } @@ -1326,7 +1326,7 @@ class Query_Builder { // Set the where string if ( ! empty($this->query_map)) { - foreach($this->query_map as $q) + foreach($this->query_map as &$q) { $sql .= $q['conjunction'] . $q['string']; } diff --git a/sys/db/docs/classes/DB_PDO.html b/sys/db/docs/classes/DB_PDO.html index 9a13f0e..a85825c 100644 --- a/sys/db/docs/classes/DB_PDO.html +++ b/sys/db/docs/classes/DB_PDO.html @@ -34,7 +34,9 @@
                                                                                                  •  Errors  0
                                                                                                  •  Markers  -
                                                                                                    • +
                                                                                                      • todo  + 6 +
                                                                                                    •  Deprecated elements  0
                                                                                                    • @@ -79,6 +81,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()
                                                                                                    • @@ -91,6 +94,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()
                                                                                                    • @@ -314,6 +318,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 +439,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
                                                                                                      @@ -678,7 +707,7 @@ the connection/database
                                                                                                      + generated on 2012-05-09T13:54:12-04:00.
                                                                                                      diff --git a/sys/db/docs/classes/DB_Reg.html b/sys/db/docs/classes/DB_Reg.html index 8ef392c..5c18593 100644 --- a/sys/db/docs/classes/DB_Reg.html +++ b/sys/db/docs/classes/DB_Reg.html @@ -34,7 +34,9 @@
                                                                                                    •  Errors  0
                                                                                                    •  Markers  -
                                                                                                      • +
                                                                                                        • todo  + 6 +
                                                                                                      •  Deprecated elements  0
                                                                                                      • @@ -151,7 +153,7 @@ and organizes database connections

                                                                                                        + generated on 2012-05-09T13:54:12-04:00.
                                                                                                        diff --git a/sys/db/docs/classes/DB_SQL.html b/sys/db/docs/classes/DB_SQL.html index 8f600cf..7cf309a 100644 --- a/sys/db/docs/classes/DB_SQL.html +++ b/sys/db/docs/classes/DB_SQL.html @@ -34,7 +34,9 @@
                                                                                                      •  Errors  0
                                                                                                      •  Markers  -
                                                                                                        • +
                                                                                                          • todo  + 6 +
                                                                                                        •  Deprecated elements  0
                                                                                                        • @@ -57,6 +59,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()
                                                                                                        • @@ -70,6 +75,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()
                                                                                                        • @@ -100,6 +106,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
                                                                                                          @@ -251,6 +272,16 @@
                                                                                                          string
                                                                                                          +
                                                                                                          +

                                                                                                          Return sql to list database field types

                                                                                                          +
                                                                                                          type_list() : mixed
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          +

                                                                                                          Returns

                                                                                                          +
                                                                                                          mixed
                                                                                                          +
                                                                                                          +

                                                                                                          Returns sql to list views

                                                                                                          view_list() : string
                                                                                                          @@ -268,7 +299,7 @@
                                                                                                          + generated on 2012-05-09T13:54:12-04:00.
                                                                                                          diff --git a/sys/db/docs/classes/DB_Util.html b/sys/db/docs/classes/DB_Util.html index b212d9b..1ce2204 100644 --- a/sys/db/docs/classes/DB_Util.html +++ b/sys/db/docs/classes/DB_Util.html @@ -34,7 +34,9 @@
                                                                                                        •  Errors  0
                                                                                                        •  Markers  -
                                                                                                          • +
                                                                                                            • todo  + 6 +
                                                                                                          •  Deprecated elements  0
                                                                                                          • @@ -208,7 +210,7 @@
                                                                                                            + generated on 2012-05-09T13:54:12-04:00.
                                                                                                            diff --git a/sys/db/docs/classes/Firebird.html b/sys/db/docs/classes/Firebird.html index 0e6d5e7..1c26386 100644 --- a/sys/db/docs/classes/Firebird.html +++ b/sys/db/docs/classes/Firebird.html @@ -34,7 +34,9 @@
                                                                                                          •  Errors  0
                                                                                                          •  Markers  -
                                                                                                            • +
                                                                                                              • todo  + 6 +
                                                                                                            •  Deprecated elements  0
                                                                                                            • @@ -75,6 +77,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()
                                                                                                            • @@ -87,6 +90,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()
                                                                                                            • @@ -333,6 +337,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 +502,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
                                                                                                              @@ -832,7 +869,7 @@ the last query executed
                                                                                                              + generated on 2012-05-09T13:54:12-04:00.
                                                                                                              diff --git a/sys/db/docs/classes/Firebird_Result.html b/sys/db/docs/classes/Firebird_Result.html index dcf50ce..3d48904 100644 --- a/sys/db/docs/classes/Firebird_Result.html +++ b/sys/db/docs/classes/Firebird_Result.html @@ -34,7 +34,9 @@
                                                                                                            •  Errors  0
                                                                                                            •  Markers  -
                                                                                                              • +
                                                                                                                • todo  + 6 +
                                                                                                              •  Deprecated elements  0
                                                                                                              • @@ -503,7 +505,7 @@ the query
                                                                                                                + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                diff --git a/sys/db/docs/classes/Firebird_SQL.html b/sys/db/docs/classes/Firebird_SQL.html index d2b23b7..56cdace 100644 --- a/sys/db/docs/classes/Firebird_SQL.html +++ b/sys/db/docs/classes/Firebird_SQL.html @@ -34,7 +34,9 @@
                                                                                                              •  Errors  0
                                                                                                              •  Markers  -
                                                                                                                • +
                                                                                                                  • todo  + 6 +
                                                                                                                •  Deprecated elements  0
                                                                                                                • @@ -71,6 +73,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()
                                                                                                                • @@ -279,6 +282,16 @@
                                                                                                                  string
                                                                                                                  +
                                                                                                                  +

                                                                                                                  SQL to show list of field types

                                                                                                                  +
                                                                                                                  type_list() : string
                                                                                                                  +
                                                                                                                  +
                                                                                                                  +

                                                                                                                  +

                                                                                                                  Returns

                                                                                                                  +
                                                                                                                  string
                                                                                                                  +
                                                                                                                  +

                                                                                                                  Returns sql to list views

                                                                                                                  view_list() : string
                                                                                                                  @@ -296,7 +309,7 @@
                                                                                                                  + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                  diff --git a/sys/db/docs/classes/Firebird_Util.html b/sys/db/docs/classes/Firebird_Util.html index 560601c..ad6b7e4 100644 --- a/sys/db/docs/classes/Firebird_Util.html +++ b/sys/db/docs/classes/Firebird_Util.html @@ -34,7 +34,9 @@
                                                                                                                •  Errors  0
                                                                                                                •  Markers  -
                                                                                                                  • +
                                                                                                                    • todo  + 6 +
                                                                                                                  •  Deprecated elements  0
                                                                                                                  • @@ -211,7 +213,7 @@
                                                                                                                    + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                    diff --git a/sys/db/docs/classes/MySQL.html b/sys/db/docs/classes/MySQL.html index 2fb64c3..c1143ec 100644 --- a/sys/db/docs/classes/MySQL.html +++ b/sys/db/docs/classes/MySQL.html @@ -34,7 +34,9 @@
                                                                                                                  •  Errors  0
                                                                                                                  •  Markers  -
                                                                                                                    • +
                                                                                                                      • todo  + 6 +
                                                                                                                    •  Deprecated elements  0
                                                                                                                    • @@ -79,6 +81,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()
                                                                                                                    • @@ -91,6 +94,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()
                                                                                                                    • @@ -376,6 +380,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 +545,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
                                                                                                                      @@ -868,7 +905,7 @@ the connection/database
                                                                                                                      + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                      diff --git a/sys/db/docs/classes/MySQL_SQL.html b/sys/db/docs/classes/MySQL_SQL.html index 4bfeca4..c254316 100644 --- a/sys/db/docs/classes/MySQL_SQL.html +++ b/sys/db/docs/classes/MySQL_SQL.html @@ -34,7 +34,9 @@
                                                                                                                    •  Errors  0
                                                                                                                    •  Markers  -
                                                                                                                      • +
                                                                                                                        • todo  + 6 +
                                                                                                                      •  Deprecated elements  0
                                                                                                                      • @@ -57,6 +59,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()
                                                                                                                      • @@ -70,6 +73,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()
                                                                                                                      • @@ -104,6 +108,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
                                                                                                                        @@ -245,10 +264,15 @@

                                                                                                                        Returns sql to list tables

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

                                                                                                                        +

                                                                                                                        Parameters

                                                                                                                        +
                                                                                                                        +

                                                                                                                        $database

                                                                                                                        +string +

                                                                                                                        Returns

                                                                                                                        string
                                                                                                                        @@ -263,6 +287,16 @@
                                                                                                                        string
                                                                                                                        +
                                                                                                                        +

                                                                                                                        SQL to show list of field types

                                                                                                                        +
                                                                                                                        type_list() : string
                                                                                                                        +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        +

                                                                                                                        Returns

                                                                                                                        +
                                                                                                                        string
                                                                                                                        +
                                                                                                                        +

                                                                                                                        Returns sql to list views

                                                                                                                        view_list() : string
                                                                                                                        @@ -280,7 +314,7 @@
                                                                                                                        + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                        diff --git a/sys/db/docs/classes/MySQL_Util.html b/sys/db/docs/classes/MySQL_Util.html index 2df4ad0..f436d53 100644 --- a/sys/db/docs/classes/MySQL_Util.html +++ b/sys/db/docs/classes/MySQL_Util.html @@ -34,7 +34,9 @@
                                                                                                                      •  Errors  0
                                                                                                                      •  Markers  -
                                                                                                                        • +
                                                                                                                          • todo  + 6 +
                                                                                                                        •  Deprecated elements  0
                                                                                                                        • @@ -207,7 +209,7 @@
                                                                                                                          + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                          diff --git a/sys/db/docs/classes/ODBC.html b/sys/db/docs/classes/ODBC.html index b27bfda..ee6408d 100644 --- a/sys/db/docs/classes/ODBC.html +++ b/sys/db/docs/classes/ODBC.html @@ -34,7 +34,9 @@
                                                                                                                        •  Errors  0
                                                                                                                        •  Markers  -
                                                                                                                          • +
                                                                                                                            • todo  + 6 +
                                                                                                                          •  Deprecated elements  0
                                                                                                                          • @@ -79,6 +81,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()
                                                                                                                          • @@ -91,6 +94,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()
                                                                                                                          • @@ -376,6 +380,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 +545,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
                                                                                                                            @@ -870,7 +907,7 @@ the connection/database
                                                                                                                            + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                            diff --git a/sys/db/docs/classes/ODBC_SQL.html b/sys/db/docs/classes/ODBC_SQL.html index 3de8284..144a299 100644 --- a/sys/db/docs/classes/ODBC_SQL.html +++ b/sys/db/docs/classes/ODBC_SQL.html @@ -34,7 +34,9 @@
                                                                                                                          •  Errors  0
                                                                                                                          •  Markers  -
                                                                                                                            • +
                                                                                                                              • todo  + 6 +
                                                                                                                            •  Deprecated elements  0
                                                                                                                            • @@ -57,6 +59,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()
                                                                                                                            • @@ -70,6 +73,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()
                                                                                                                            • @@ -104,6 +108,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
                                                                                                                              @@ -263,6 +282,16 @@
                                                                                                                              FALSE
                                                                                                                              +
                                                                                                                              +

                                                                                                                              SQL to show list of field types

                                                                                                                              +
                                                                                                                              type_list() : FALSE
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              +

                                                                                                                              Returns

                                                                                                                              +
                                                                                                                              FALSE
                                                                                                                              +
                                                                                                                              +

                                                                                                                              Returns sql to list views

                                                                                                                              view_list() : FALSE
                                                                                                                              @@ -280,7 +309,7 @@
                                                                                                                              + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                              diff --git a/sys/db/docs/classes/ODBC_Util.html b/sys/db/docs/classes/ODBC_Util.html index d90cd2d..5e1074b 100644 --- a/sys/db/docs/classes/ODBC_Util.html +++ b/sys/db/docs/classes/ODBC_Util.html @@ -34,7 +34,9 @@
                                                                                                                            •  Errors  0
                                                                                                                            •  Markers  -
                                                                                                                              • +
                                                                                                                                • todo  + 6 +
                                                                                                                              •  Deprecated elements  0
                                                                                                                              • @@ -202,7 +204,7 @@
                                                                                                                                + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                diff --git a/sys/db/docs/classes/PgSQL.html b/sys/db/docs/classes/PgSQL.html index cdcd8db..37a8c4e 100644 --- a/sys/db/docs/classes/PgSQL.html +++ b/sys/db/docs/classes/PgSQL.html @@ -34,7 +34,9 @@
                                                                                                                              •  Errors  0
                                                                                                                              •  Markers  -
                                                                                                                                • +
                                                                                                                                  • todo  + 6 +
                                                                                                                                •  Deprecated elements  0
                                                                                                                                • @@ -79,6 +81,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()
                                                                                                                                • @@ -91,6 +94,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()
                                                                                                                                • @@ -376,6 +380,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 +541,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
                                                                                                                                  @@ -870,7 +907,7 @@ the connection/database
                                                                                                                                  + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                  diff --git a/sys/db/docs/classes/PgSQL_SQL.html b/sys/db/docs/classes/PgSQL_SQL.html index c2be711..622c265 100644 --- a/sys/db/docs/classes/PgSQL_SQL.html +++ b/sys/db/docs/classes/PgSQL_SQL.html @@ -34,7 +34,9 @@
                                                                                                                                •  Errors  0
                                                                                                                                •  Markers  -
                                                                                                                                  • +
                                                                                                                                    • todo  + 6 +
                                                                                                                                  •  Deprecated elements  0
                                                                                                                                  • @@ -71,6 +73,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()
                                                                                                                                  • @@ -279,6 +282,16 @@
                                                                                                                                    string
                                                                                                                                    +
                                                                                                                                    +

                                                                                                                                    SQL to show list of field types

                                                                                                                                    +
                                                                                                                                    type_list() : string
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +

                                                                                                                                    +

                                                                                                                                    Returns

                                                                                                                                    +
                                                                                                                                    string
                                                                                                                                    +
                                                                                                                                    +

                                                                                                                                    Returns sql to list views

                                                                                                                                    view_list() : string
                                                                                                                                    @@ -296,7 +309,7 @@
                                                                                                                                    + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                    diff --git a/sys/db/docs/classes/PgSQL_Util.html b/sys/db/docs/classes/PgSQL_Util.html index e124d16..b3f6370 100644 --- a/sys/db/docs/classes/PgSQL_Util.html +++ b/sys/db/docs/classes/PgSQL_Util.html @@ -34,7 +34,9 @@
                                                                                                                                  •  Errors  0
                                                                                                                                  •  Markers  -
                                                                                                                                    • +
                                                                                                                                      • todo  + 6 +
                                                                                                                                    •  Deprecated elements  0
                                                                                                                                    • @@ -207,7 +209,7 @@
                                                                                                                                      + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                      diff --git a/sys/db/docs/classes/Query_Builder.html b/sys/db/docs/classes/Query_Builder.html index eab9d1b..f2f8590 100644 --- a/sys/db/docs/classes/Query_Builder.html +++ b/sys/db/docs/classes/Query_Builder.html @@ -34,7 +34,9 @@
                                                                                                                                    •  Errors  0
                                                                                                                                    •  Markers  -
                                                                                                                                      • +
                                                                                                                                        • todo  + 6 +
                                                                                                                                      •  Deprecated elements  0
                                                                                                                                      • @@ -117,6 +119,7 @@ passed array with key / value pairs
                                                                                                                                        where()
                                                                                                                                      • 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
                                                                                                                                      • @@ -132,7 +135,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
                                                                                                                                      • @@ -1123,6 +1125,12 @@ passed array with key / value pairs

                                                                                                                                        + 
                                                                                                                                        +

                                                                                                                                        Alias to $this->db->sql

                                                                                                                                        +
                                                                                                                                        $sql : \DB_PDO
                                                                                                                                        +
                                                                                                                                        +

                                                                                                                                        +
                                                                                                                                         

                                                                                                                                        Compiled 'from' clause

                                                                                                                                        $from_string : string
                                                                                                                                        @@ -1202,12 +1210,6 @@ for complex select queries

                                                                                                                                        - 
                                                                                                                                        -

                                                                                                                                        Alias to $this->db->sql

                                                                                                                                        -
                                                                                                                                        $sql : \DB_PDO
                                                                                                                                        -
                                                                                                                                        -

                                                                                                                                        -
                                                                                                                                         

                                                                                                                                        Values to apply to prepared statements

                                                                                                                                        $values : array
                                                                                                                                        @@ -1221,7 +1223,7 @@ for complex select queries
                                                                                                                                        + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                        diff --git a/sys/db/docs/classes/SQLite.html b/sys/db/docs/classes/SQLite.html index 2d61922..18d70c5 100644 --- a/sys/db/docs/classes/SQLite.html +++ b/sys/db/docs/classes/SQLite.html @@ -34,7 +34,9 @@
                                                                                                                                      •  Errors  0
                                                                                                                                      •  Markers  -
                                                                                                                                        • +
                                                                                                                                          • todo  + 6 +
                                                                                                                                        •  Deprecated elements  0
                                                                                                                                        • @@ -79,6 +81,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()
                                                                                                                                        • @@ -89,6 +92,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()
                                                                                                                                        • @@ -372,6 +376,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 +532,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
                                                                                                                                          @@ -885,7 +922,7 @@ method if the database does not support 'TRUNCATE';
                                                                                                                                          + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                          diff --git a/sys/db/docs/classes/SQLite_SQL.html b/sys/db/docs/classes/SQLite_SQL.html index 247a4b4..a806f24 100644 --- a/sys/db/docs/classes/SQLite_SQL.html +++ b/sys/db/docs/classes/SQLite_SQL.html @@ -34,7 +34,9 @@
                                                                                                                                        •  Errors  0
                                                                                                                                        •  Markers  -
                                                                                                                                          • +
                                                                                                                                            • todo  + 6 +
                                                                                                                                          •  Deprecated elements  0
                                                                                                                                          • @@ -57,6 +59,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()
                                                                                                                                          • @@ -70,6 +73,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()
                                                                                                                                          • @@ -104,6 +108,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
                                                                                                                                            @@ -263,6 +282,16 @@
                                                                                                                                            FALSE
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            SQL to show list of field types

                                                                                                                                            +
                                                                                                                                            type_list() : array
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            +

                                                                                                                                            Returns

                                                                                                                                            +
                                                                                                                                            array
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            Returns sql to list views

                                                                                                                                            view_list() : string
                                                                                                                                            @@ -280,7 +309,7 @@
                                                                                                                                            + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                            diff --git a/sys/db/docs/classes/SQLite_Util.html b/sys/db/docs/classes/SQLite_Util.html index 815414e..84aafe0 100644 --- a/sys/db/docs/classes/SQLite_Util.html +++ b/sys/db/docs/classes/SQLite_Util.html @@ -34,7 +34,9 @@
                                                                                                                                          •  Errors  0
                                                                                                                                          •  Markers  -
                                                                                                                                            • +
                                                                                                                                              • todo  + 6 +
                                                                                                                                            •  Deprecated elements  0
                                                                                                                                            • @@ -207,7 +209,7 @@
                                                                                                                                              + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                              diff --git a/sys/db/docs/classes/Settings.html b/sys/db/docs/classes/Settings.html index 798728b..1f23a33 100644 --- a/sys/db/docs/classes/Settings.html +++ b/sys/db/docs/classes/Settings.html @@ -34,7 +34,9 @@
                                                                                                                                            •  Errors  0
                                                                                                                                            •  Markers  -
                                                                                                                                              • +
                                                                                                                                                • todo  + 6 +
                                                                                                                                              •  Deprecated elements  0
                                                                                                                                              • @@ -243,7 +245,7 @@ directly - the settings should be safe!
                                                                                                                                                + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                                diff --git a/sys/db/docs/deprecated.html b/sys/db/docs/deprecated.html index 7104a71..572a839 100644 --- a/sys/db/docs/deprecated.html +++ b/sys/db/docs/deprecated.html @@ -34,7 +34,9 @@
                                                                                                                                              •  Errors  0
                                                                                                                                              •  Markers  -
                                                                                                                                                • +
                                                                                                                                                  • todo  + 6 +
                                                                                                                                                •  Deprecated elements  0
                                                                                                                                                • @@ -66,7 +68,7 @@
                                                                                                                                                  + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                                  diff --git a/sys/db/docs/errors.html b/sys/db/docs/errors.html index 071d04a..84c9146 100644 --- a/sys/db/docs/errors.html +++ b/sys/db/docs/errors.html @@ -34,7 +34,9 @@
                                                                                                                                                •  Errors  0
                                                                                                                                                •  Markers  -
                                                                                                                                                  • +
                                                                                                                                                    • todo  + 6 +
                                                                                                                                                  •  Deprecated elements  0
                                                                                                                                                  • @@ -92,7 +94,7 @@
                                                                                                                                                    + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                                    diff --git a/sys/db/docs/graph_class.html b/sys/db/docs/graph_class.html index 2f6cd2f..2970b0a 100644 --- a/sys/db/docs/graph_class.html +++ b/sys/db/docs/graph_class.html @@ -34,7 +34,9 @@
                                                                                                                                                  •  Errors  0
                                                                                                                                                  •  Markers  -
                                                                                                                                                    • +
                                                                                                                                                      • todo  + 6 +
                                                                                                                                                    •  Deprecated elements  0
                                                                                                                                                    • @@ -63,7 +65,7 @@
                                                                                                                                                      + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                                      diff --git a/sys/db/docs/markers.html b/sys/db/docs/markers.html index 0ab7fa7..2f122fe 100644 --- a/sys/db/docs/markers.html +++ b/sys/db/docs/markers.html @@ -34,7 +34,9 @@
                                                                                                                                                    •  Errors  0
                                                                                                                                                    •  Markers  -
                                                                                                                                                      • +
                                                                                                                                                        • todo  + 6 +
                                                                                                                                                      •  Deprecated elements  0
                                                                                                                                                      • @@ -49,7 +51,15 @@ if Javascript is enabled.
                                                                                                                                                        -
                                                                                                                                                        +
                                                                                                                                                        -
                                                                                                                                                        No markers have been found in this project.
                                                                                                                                                        The following markers were found: -
                                                                                                                                                          +
                                                                                                                                                          • todo  + 6 +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          +

                                                                                                                                                          +classes/query_builder.php1 +

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

                                                                                                                                                          +drivers/pgsql/pgsql_util.php1 +

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

                                                                                                                                                          +drivers/pgsql/pgsql_driver.php1 +

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

                                                                                                                                                          +drivers/mysql/mysql_util.php1 +

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

                                                                                                                                                          +drivers/mysql/mysql_driver.php1 +

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

                                                                                                                                                          +drivers/firebird/firebird_util.php1 +

                                                                                                                                                          +
                                                                                                                                                          + + + + + + + + + + +
                                                                                                                                                          TypeLineDescription
                                                                                                                                                          todo117Implement Backup structure function
                                                                                                                                                          +
                                                                                                                                                          -
                                                                                                                                                          + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                                          diff --git a/sys/db/docs/namespaces/default.html b/sys/db/docs/namespaces/default.html index e3950d4..27bf0c0 100644 --- a/sys/db/docs/namespaces/default.html +++ b/sys/db/docs/namespaces/default.html @@ -34,7 +34,9 @@
                                                                                                                                                        •  Errors  0
                                                                                                                                                        •  Markers  -
                                                                                                                                                          • +
                                                                                                                                                            • todo  + 6 +
                                                                                                                                                          •  Deprecated elements  0
                                                                                                                                                          • @@ -282,7 +284,7 @@ instantiates the specific db driver

                                                                                                                                                            + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                                            diff --git a/sys/db/docs/packages/.html b/sys/db/docs/packages/.html index 2ec6382..d906878 100644 --- a/sys/db/docs/packages/.html +++ b/sys/db/docs/packages/.html @@ -34,7 +34,9 @@
                                                                                                                                                          •  Errors  0
                                                                                                                                                          •  Markers  -
                                                                                                                                                            • +
                                                                                                                                                              • todo  + 6 +
                                                                                                                                                            •  Deprecated elements  0
                                                                                                                                                            • @@ -66,7 +68,7 @@
                                                                                                                                                              + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                                              diff --git a/sys/db/docs/packages/Default.html b/sys/db/docs/packages/Default.html index 140bace..4c5857a 100644 --- a/sys/db/docs/packages/Default.html +++ b/sys/db/docs/packages/Default.html @@ -34,7 +34,9 @@
                                                                                                                                                            •  Errors  0
                                                                                                                                                            •  Markers  -
                                                                                                                                                              • +
                                                                                                                                                                • todo  + 6 +
                                                                                                                                                              •  Deprecated elements  0
                                                                                                                                                              • @@ -93,7 +95,7 @@
                                                                                                                                                                + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                                                diff --git a/sys/db/docs/packages/Query.Drivers.html b/sys/db/docs/packages/Query.Drivers.html index 1bb5ad3..a9a1548 100644 --- a/sys/db/docs/packages/Query.Drivers.html +++ b/sys/db/docs/packages/Query.Drivers.html @@ -34,7 +34,9 @@
                                                                                                                                                              •  Errors  0
                                                                                                                                                              •  Markers  -
                                                                                                                                                                • +
                                                                                                                                                                  • todo  + 6 +
                                                                                                                                                                •  Deprecated elements  0
                                                                                                                                                                • @@ -210,7 +212,7 @@ data-fetching methods

                                                                                                                                                                  + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                                                  diff --git a/sys/db/docs/packages/Query.Helper Classes.html b/sys/db/docs/packages/Query.Helper Classes.html index 2264685..f501d29 100644 --- a/sys/db/docs/packages/Query.Helper Classes.html +++ b/sys/db/docs/packages/Query.Helper Classes.html @@ -34,7 +34,9 @@
                                                                                                                                                                •  Errors  0
                                                                                                                                                                •  Markers  -
                                                                                                                                                                  • +
                                                                                                                                                                    • todo  + 6 +
                                                                                                                                                                  •  Deprecated elements  0
                                                                                                                                                                  • @@ -96,7 +98,7 @@
                                                                                                                                                                    + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                                                    diff --git a/sys/db/docs/packages/Query.Query.html b/sys/db/docs/packages/Query.Query.html index b910e6c..89785e7 100644 --- a/sys/db/docs/packages/Query.Query.html +++ b/sys/db/docs/packages/Query.Query.html @@ -34,7 +34,9 @@
                                                                                                                                                                  •  Errors  0
                                                                                                                                                                  •  Markers  -
                                                                                                                                                                    • +
                                                                                                                                                                      • todo  + 6 +
                                                                                                                                                                    •  Deprecated elements  0
                                                                                                                                                                    • @@ -114,7 +116,7 @@ instantiates the specific db driver

                                                                                                                                                                      + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                                                      diff --git a/sys/db/docs/packages/Query.html b/sys/db/docs/packages/Query.html index 0407615..06ea3b1 100644 --- a/sys/db/docs/packages/Query.html +++ b/sys/db/docs/packages/Query.html @@ -34,7 +34,9 @@
                                                                                                                                                                    •  Errors  0
                                                                                                                                                                    •  Markers  -
                                                                                                                                                                      • +
                                                                                                                                                                        • todo  + 6 +
                                                                                                                                                                      •  Deprecated elements  0
                                                                                                                                                                      • @@ -315,7 +317,7 @@ instantiates the specific db driver

                                                                                                                                                                        + generated on 2012-05-09T13:54:12-04:00.
                                                                                                                                                                        diff --git a/sys/db/docs/structure.xml b/sys/db/docs/structure.xml index 57546f1..1c5c9c5 100644 --- a/sys/db/docs/structure.xml +++ b/sys/db/docs/structure.xml @@ -297,7 +297,7 @@ directly - the settings should be safe!]]> - + Free Query Builder / Database Abstraction Layer

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

                                                                                                                                                                        ]]>
                                                                                                                                                                        @@ -875,77 +904,107 @@ the connection/database]]>
                                                                                                                                                                        - - driver_query + + get_columns function - + - + string - - bool - - - mixed + + array - - $sql - - - - - $filtered_index - - - - - - num_rows - function - - - - - int - - - - - truncate - function - - - - - string - - - void - - - + $table - - switch_db + + 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 @@ -953,7 +1012,7 @@ the connection/database]]>
                                                                                                                                                                        - + Free Query Builder / Database Abstraction Layer

                                                                                                                                                                        ]]>
                                                                                                                                                                        @@ -963,6 +1022,9 @@ the connection/database]]>
                                                                                                                                                                        + + make able to handle operators without spaces + Query_Builder \Query_Builder @@ -1095,7 +1157,7 @@ instantiates the specific db driver]]> - + $sql @@ -1162,1173 +1224,1173 @@ 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 - + like function - + - + string - + mixed - + string - + \$this - + $field - + $val - + $pos - + 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 function - + - + mixed - + mixed - + string - + \$this - + $key - + $val - + $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 - + $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 @@ -2568,7 +2630,7 @@ with array_map and glob]]>
                                                                                                                                                                        - + Free Query Builder / Database Abstraction Layer

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

                                                                                                                                                                        ]]>
                                                                                                                                                                        @@ -2752,6 +2825,9 @@ with array_map and glob]]>
                                                                                                                                                                        + + Implement Backup function + PgSQL_Util \PgSQL_Util @@ -2875,7 +2951,7 @@ with array_map and glob]]>
                                                                                                                                                                        - + Free Query Builder / Database Abstraction Layer

                                                                                                                                                                        ]]>
                                                                                                                                                                        @@ -2885,6 +2961,9 @@ with array_map and glob]]>
                                                                                                                                                                        + + Implement + PgSQL \PgSQL @@ -3105,7 +3184,7 @@ with array_map and glob]]>
                                                                                                                                                                        - + Free Query Builder / Database Abstraction Layer

                                                                                                                                                                        ]]>
                                                                                                                                                                        @@ -3259,6 +3338,36 @@ with array_map and glob]]>
                                                                                                                                                                        + + type_list + function + + + + + FALSE + + + + + column_list + function + + + + + string + + + FALSE + + + + $table + + + +
                                                                                                                                                                        @@ -3369,7 +3478,7 @@ with array_map and glob]]> - + Free Query Builder / Database Abstraction Layer

                                                                                                                                                                        ]]>
                                                                                                                                                                        @@ -3379,6 +3488,9 @@ with array_map and glob]]>
                                                                                                                                                                        + + Implement Backup function + MySQL_Util \MySQL_Util @@ -3481,20 +3593,20 @@ with array_map and glob]]> - + backup_data function - + - + array - + string - + $exclude @@ -3502,7 +3614,7 @@ with array_map and glob]]>
                                                                                                                                                                        - + Free Query Builder / Database Abstraction Layer

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

                                                                                                                                                                        ]]>
                                                                                                                                                                        @@ -3684,83 +3799,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 + + + +
                                                                                                                                                                        @@ -4055,7 +4208,7 @@ with array_map and glob]]> - + Free Query Builder / Database Abstraction Layer

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

                                                                                                                                                                        ]]>
                                                                                                                                                                        @@ -4384,6 +4567,17 @@ with array_map and glob]]> + + type_list + function + + + + + string + + +
                                                                                                                                                                        @@ -5078,7 +5272,7 @@ the last query executed]]> - + Free Query Builder / Database Abstraction Layer

                                                                                                                                                                        ]]>
                                                                                                                                                                        @@ -5088,6 +5282,9 @@ the last query executed]]>
                                                                                                                                                                        + + Implement Backup structure function + Firebird_Util \Firebird_Util @@ -5227,7 +5424,7 @@ the last query executed]]> - todo + todo fixme diff --git a/sys/db/drivers/firebird/firebird_sql.php b/sys/db/drivers/firebird/firebird_sql.php index ff721e9..5535884 100644 --- a/sys/db/drivers/firebird/firebird_sql.php +++ b/sys/db/drivers/firebird/firebird_sql.php @@ -237,6 +237,22 @@ SQL; ORDER BY r.RDB\$FIELD_POSITION SQL; } + + // -------------------------------------------------------------------------- + + /** + * SQL to show list of field types + * + * @return string + */ + public function type_list() + { + return <<conn->get_dbs(); + + foreach($dbs as $d) + { + // Get the list of tables + + // Get the sql for the table + $query = $this->conn->query("SHOW CREATE TABLE {$table}"); + + } + + // TODO Implement Backup function return ''; } diff --git a/sys/db/drivers/odbc/odbc_sql.php b/sys/db/drivers/odbc/odbc_sql.php index 87468cf..09fa01f 100644 --- a/sys/db/drivers/odbc/odbc_sql.php +++ b/sys/db/drivers/odbc/odbc_sql.php @@ -141,5 +141,31 @@ class ODBC_SQL extends DB_SQL { { return FALSE; } + + // -------------------------------------------------------------------------- + + /** + * SQL to show list of field types + * + * @return FALSE + */ + public function type_list() + { + return FALSE; + } + + // -------------------------------------------------------------------------- + + /** + * SQL to show infromation about columns in a table + * + * @param string $table + * @return FALSE + */ + public function column_list($table) + { + return FALSE; + } + } // End of odbc_sql.php \ No newline at end of file diff --git a/sys/db/drivers/pgsql/pgsql_driver.php b/sys/db/drivers/pgsql/pgsql_driver.php index df8bebf..a0ac49e 100644 --- a/sys/db/drivers/pgsql/pgsql_driver.php +++ b/sys/db/drivers/pgsql/pgsql_driver.php @@ -43,7 +43,7 @@ class PgSQL extends DB_PDO { */ public function switch_db($name) { - // @todo Implement + // TODO Implement return FALSE; } diff --git a/sys/db/drivers/pgsql/pgsql_sql.php b/sys/db/drivers/pgsql/pgsql_sql.php index e7ee6b9..2293dcb 100644 --- a/sys/db/drivers/pgsql/pgsql_sql.php +++ b/sys/db/drivers/pgsql/pgsql_sql.php @@ -207,6 +207,23 @@ SQL; FROM information_schema.columns WHERE table_name = '{$table}' ORDER BY ordinal_position; +SQL; + } + + // -------------------------------------------------------------------------- + + /** + * SQL to show list of field types + * + * @return string + */ + public function type_list() + { + return <<