From db1490c0169dc9d2c15fb7a22daab469b8c9a4bc Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Tue, 8 May 2012 08:31:57 -0400 Subject: [PATCH] Partially implement type_list method --- classes/db_sql.php | 2 +- docs/classes/DB_PDO.html | 4 +- docs/classes/DB_Reg.html | 4 +- docs/classes/DB_SQL.html | 8 ++-- docs/classes/DB_Util.html | 4 +- docs/classes/Firebird.html | 4 +- docs/classes/Firebird_Result.html | 4 +- docs/classes/Firebird_SQL.html | 4 +- docs/classes/Firebird_Util.html | 4 +- docs/classes/MySQL.html | 4 +- docs/classes/MySQL_SQL.html | 4 +- docs/classes/MySQL_Util.html | 4 +- docs/classes/ODBC.html | 4 +- docs/classes/ODBC_SQL.html | 4 +- docs/classes/ODBC_Util.html | 4 +- docs/classes/PgSQL.html | 4 +- docs/classes/PgSQL_SQL.html | 4 +- docs/classes/PgSQL_Util.html | 4 +- docs/classes/Query_Builder.html | 4 +- docs/classes/SQLite.html | 4 +- docs/classes/SQLite_SQL.html | 8 ++-- docs/classes/SQLite_Util.html | 4 +- docs/classes/Settings.html | 4 +- docs/deprecated.html | 4 +- docs/errors.html | 4 +- docs/graph_class.html | 4 +- docs/markers.html | 60 ++---------------------- docs/namespaces/default.html | 4 +- docs/packages/.html | 4 +- docs/packages/Default.html | 4 +- docs/packages/Query.Drivers.html | 4 +- docs/packages/Query.Helper Classes.html | 4 +- docs/packages/Query.Query.html | 4 +- docs/packages/Query.html | 4 +- docs/structure.xml | 27 ++++------- drivers/firebird/firebird_sql.php | 4 +- drivers/pgsql/pgsql_sql.php | 7 ++- drivers/sqlite/sqlite_sql.php | 4 +- tests/db_files/FB_TEST_DB.FDB | Bin 802816 -> 802816 bytes 39 files changed, 92 insertions(+), 148 deletions(-) diff --git a/classes/db_sql.php b/classes/db_sql.php index de8e110..46559ed 100644 --- a/classes/db_sql.php +++ b/classes/db_sql.php @@ -165,7 +165,7 @@ abstract class DB_SQL { /** * Return sql to list database field types * - * @return string + * @return mixed */ abstract public function type_list(); } diff --git a/docs/classes/DB_PDO.html b/docs/classes/DB_PDO.html index 02d41a8..95f2409 100644 --- a/docs/classes/DB_PDO.html +++ b/docs/classes/DB_PDO.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -680,7 +680,7 @@ the connection/database
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/DB_Reg.html b/docs/classes/DB_Reg.html index 00f800e..33f8e66 100644 --- a/docs/classes/DB_Reg.html +++ b/docs/classes/DB_Reg.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -153,7 +153,7 @@ and organizes database connections

    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/DB_SQL.html b/docs/classes/DB_SQL.html index f1903fc..ae0dbc7 100644 --- a/docs/classes/DB_SQL.html +++ b/docs/classes/DB_SQL.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -256,12 +256,12 @@

    Return sql to list database field types

    -
    type_list() : string
    +
    type_list() : mixed

    Returns

    -
    string
    +
    mixed
    @@ -281,7 +281,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/DB_Util.html b/docs/classes/DB_Util.html index 4e3c5a3..60ba07e 100644 --- a/docs/classes/DB_Util.html +++ b/docs/classes/DB_Util.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -210,7 +210,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/Firebird.html b/docs/classes/Firebird.html index cf6ca7e..98642a5 100644 --- a/docs/classes/Firebird.html +++ b/docs/classes/Firebird.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -834,7 +834,7 @@ the last query executed
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/Firebird_Result.html b/docs/classes/Firebird_Result.html index 1713a5f..8297b80 100644 --- a/docs/classes/Firebird_Result.html +++ b/docs/classes/Firebird_Result.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -505,7 +505,7 @@ the query
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/Firebird_SQL.html b/docs/classes/Firebird_SQL.html index f55d271..0a56b77 100644 --- a/docs/classes/Firebird_SQL.html +++ b/docs/classes/Firebird_SQL.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -309,7 +309,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/Firebird_Util.html b/docs/classes/Firebird_Util.html index 1003884..a7cd629 100644 --- a/docs/classes/Firebird_Util.html +++ b/docs/classes/Firebird_Util.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -213,7 +213,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/MySQL.html b/docs/classes/MySQL.html index 91dedf1..3ddbc12 100644 --- a/docs/classes/MySQL.html +++ b/docs/classes/MySQL.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -870,7 +870,7 @@ the connection/database
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/MySQL_SQL.html b/docs/classes/MySQL_SQL.html index 62c0fca..4a17b02 100644 --- a/docs/classes/MySQL_SQL.html +++ b/docs/classes/MySQL_SQL.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -293,7 +293,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/MySQL_Util.html b/docs/classes/MySQL_Util.html index 30caedf..8f5b3a9 100644 --- a/docs/classes/MySQL_Util.html +++ b/docs/classes/MySQL_Util.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -209,7 +209,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/ODBC.html b/docs/classes/ODBC.html index d0823ce..f7a50dc 100644 --- a/docs/classes/ODBC.html +++ b/docs/classes/ODBC.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -872,7 +872,7 @@ the connection/database
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/ODBC_SQL.html b/docs/classes/ODBC_SQL.html index 691171f..189c2fa 100644 --- a/docs/classes/ODBC_SQL.html +++ b/docs/classes/ODBC_SQL.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -293,7 +293,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/ODBC_Util.html b/docs/classes/ODBC_Util.html index e7fa3f3..ff9f659 100644 --- a/docs/classes/ODBC_Util.html +++ b/docs/classes/ODBC_Util.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -204,7 +204,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/PgSQL.html b/docs/classes/PgSQL.html index 2c57138..c56cb8c 100644 --- a/docs/classes/PgSQL.html +++ b/docs/classes/PgSQL.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -872,7 +872,7 @@ the connection/database
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/PgSQL_SQL.html b/docs/classes/PgSQL_SQL.html index 896f077..5b758b0 100644 --- a/docs/classes/PgSQL_SQL.html +++ b/docs/classes/PgSQL_SQL.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -309,7 +309,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/PgSQL_Util.html b/docs/classes/PgSQL_Util.html index ede2726..3e06fbe 100644 --- a/docs/classes/PgSQL_Util.html +++ b/docs/classes/PgSQL_Util.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -209,7 +209,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/Query_Builder.html b/docs/classes/Query_Builder.html index 2d09b6a..c6a4c58 100644 --- a/docs/classes/Query_Builder.html +++ b/docs/classes/Query_Builder.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -1223,7 +1223,7 @@ for complex select queries
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/SQLite.html b/docs/classes/SQLite.html index d9fbb72..9d68dc7 100644 --- a/docs/classes/SQLite.html +++ b/docs/classes/SQLite.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -887,7 +887,7 @@ method if the database does not support 'TRUNCATE';
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/SQLite_SQL.html b/docs/classes/SQLite_SQL.html index ce00780..f4c4938 100644 --- a/docs/classes/SQLite_SQL.html +++ b/docs/classes/SQLite_SQL.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -268,12 +268,12 @@

    SQL to show list of field types

    -
    type_list() : string
    +
    type_list() : array

    Returns

    -
    string
    +
    array
    @@ -293,7 +293,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/SQLite_Util.html b/docs/classes/SQLite_Util.html index fd6fdb8..96f70ee 100644 --- a/docs/classes/SQLite_Util.html +++ b/docs/classes/SQLite_Util.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -209,7 +209,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/classes/Settings.html b/docs/classes/Settings.html index 2065950..da09ef5 100644 --- a/docs/classes/Settings.html +++ b/docs/classes/Settings.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -245,7 +245,7 @@ directly - the settings should be safe!
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/deprecated.html b/docs/deprecated.html index 9a0c435..cfbb15b 100644 --- a/docs/deprecated.html +++ b/docs/deprecated.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -68,7 +68,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/errors.html b/docs/errors.html index fd7c4b6..80ed901 100644 --- a/docs/errors.html +++ b/docs/errors.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -94,7 +94,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/graph_class.html b/docs/graph_class.html index fd2c555..e6044c2 100644 --- a/docs/graph_class.html +++ b/docs/graph_class.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -65,7 +65,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/markers.html b/docs/markers.html index e13c6c4..22a4b84 100644 --- a/docs/markers.html +++ b/docs/markers.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -54,14 +54,11 @@
    @@ -74,7 +71,7 @@
    The following markers were found:
    • todo  - 10 + 7
    @@ -96,23 +93,6 @@
    -

    -drivers/pgsql/pgsql_sql.php1 -

    -
    - - - - - - - - - - -
    TypeLineDescription
    todo222implement type_list method
    -
    -

    drivers/pgsql/pgsql_util.php1

    @@ -198,40 +178,6 @@
    -

    -drivers/sqlite/sqlite_sql.php1 -

    -
    - - - - - - - - - - -
    TypeLineDescription
    todo166implement type_list method
    -
    -
    -

    -drivers/firebird/firebird_sql.php1 -

    -
    - - - - - - - - - - -
    TypeLineDescription
    todo250implement type_list method
    -
    -

    drivers/firebird/firebird_util.php1

    @@ -254,7 +200,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/namespaces/default.html b/docs/namespaces/default.html index 4a396ca..5a8a6a0 100644 --- a/docs/namespaces/default.html +++ b/docs/namespaces/default.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -284,7 +284,7 @@ instantiates the specific db driver

    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/packages/.html b/docs/packages/.html index 0cfabf1..9de2078 100644 --- a/docs/packages/.html +++ b/docs/packages/.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -68,7 +68,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/packages/Default.html b/docs/packages/Default.html index f8ad942..14969bb 100644 --- a/docs/packages/Default.html +++ b/docs/packages/Default.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -95,7 +95,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/packages/Query.Drivers.html b/docs/packages/Query.Drivers.html index bb55d0b..3f0eabe 100644 --- a/docs/packages/Query.Drivers.html +++ b/docs/packages/Query.Drivers.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -212,7 +212,7 @@ data-fetching methods

    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/packages/Query.Helper Classes.html b/docs/packages/Query.Helper Classes.html index 6698faf..5b28859 100644 --- a/docs/packages/Query.Helper Classes.html +++ b/docs/packages/Query.Helper Classes.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -98,7 +98,7 @@
    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/packages/Query.Query.html b/docs/packages/Query.Query.html index 69e1c95..b5f5f88 100644 --- a/docs/packages/Query.Query.html +++ b/docs/packages/Query.Query.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -116,7 +116,7 @@ instantiates the specific db driver

    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/packages/Query.html b/docs/packages/Query.html index b7f9a34..36159e5 100644 --- a/docs/packages/Query.html +++ b/docs/packages/Query.html @@ -35,7 +35,7 @@ 0
  •  Markers 
    • todo  - 10 + 7
  •  Deprecated elements  0
  • @@ -317,7 +317,7 @@ instantiates the specific db driver

    + generated on 2012-05-08T08:31:38-04:00.
    diff --git a/docs/structure.xml b/docs/structure.xml index cd14f76..bdbc5ae 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

    ]]>
    @@ -514,8 +514,8 @@ directly - the settings should be safe!]]> - - string + + mixed @@ -2582,7 +2582,7 @@ with array_map and glob]]>
    - + Free Query Builder / Database Abstraction Layer

    ]]>
    @@ -2591,9 +2591,6 @@ with array_map and glob]]>
    - - implement type_list method - PgSQL_SQL \PgSQL_SQL @@ -4120,7 +4117,7 @@ with array_map and glob]]>
    - + Free Query Builder / Database Abstraction Layer

    ]]>
    @@ -4130,9 +4127,6 @@ with array_map and glob]]>
    - - implement type_list method - SQLite_SQL \SQLite_SQL @@ -4283,14 +4277,14 @@ with array_map and glob]]> - - string + + array
    - + Free Query Builder / Database Abstraction Layer

    ]]>
    @@ -4300,9 +4294,6 @@ with array_map and glob]]>
    - - implement type_list method - Firebird_SQL \Firebird_SQL @@ -5323,7 +5314,7 @@ the last query executed]]> - todo + todo fixme diff --git a/drivers/firebird/firebird_sql.php b/drivers/firebird/firebird_sql.php index 7cb0752..97f43e3 100644 --- a/drivers/firebird/firebird_sql.php +++ b/drivers/firebird/firebird_sql.php @@ -247,7 +247,9 @@ SQL; */ public function type_list() { - // TODO implement type_list method + return <<L@j_6 zYj**vmG{+2US|M;l&V@XGu7j;e`zkyU)7oyB!~%02}%nx1et>71Z4zqK~{%sgV;xC zI`$q956bpKMtF9|L*xGBjVH8OJ7zg(a2K9z7mlz92A1K~a-e|@+*vByS=hi5oLeQR zT4nH*e_C1S*(KnX3j;N4)p-_f_{xl1m+GpyFzDeRv!LJjl58>170bsy9fwh08buoM4) z6zXZAm1WRASmc65NF?H45cf`vGwi(iF}%mRZrOFqdjcCPs~P+klNH3b)DMV= z%MMUoe=UsC0RxPP?pnADJ^P+tHy4tPTJxMG3&|15QOSm6Q}UGLnB=(R={vRz79XDJ zSle;0QnXsJi*d>F#w9Xa$ItOFZ!!)<3OOr}qeLFCGsxKvZW2YDl2)=&p$wKOi?>7; z*P82E4Jx8*Wzp1puf0LdS~hmArAh9g(w|LvZkOI;Gi?WW3Qqz-x7Dpr`=YJP9&Kr9 zd{RlBjc8u)Un9z?haMHgi}Lk(@z4BYW&Ck8jDn$42K1<|x|CL(0j&wB