From: <wis...@us...> - 2012-01-29 21:48:20
|
Revision: 8830 http://xoops.svn.sourceforge.net/xoops/?rev=8830&view=rev Author: wishcraft Date: 2012-01-29 21:48:08 +0000 (Sun, 29 Jan 2012) Log Message: ----------- ADODB 0.25 - Classes Modified for No Warnings in XOOPS 2.6 - XOOPS 2.6 Complaint Modified Paths: -------------- ThirdParty/adodb/trunk/class/database/access_adodb.php ThirdParty/adodb/trunk/class/database/ado5_adodb.php ThirdParty/adodb/trunk/class/database/ado_access_adodb.php ThirdParty/adodb/trunk/class/database/ado_adodb.php ThirdParty/adodb/trunk/class/database/ado_mssql_adodb.php ThirdParty/adodb/trunk/class/database/adodb/adodb-active-record.inc.php ThirdParty/adodb/trunk/class/database/adodb/adodb-active-recordx.inc.php ThirdParty/adodb/trunk/class/database/adodb/adodb-datadict.inc.php ThirdParty/adodb/trunk/class/database/adodb/adodb-error.inc.php ThirdParty/adodb/trunk/class/database/adodb/adodb-lib.inc.php ThirdParty/adodb/trunk/class/database/adodb/adodb-memcache.lib.inc.php ThirdParty/adodb/trunk/class/database/adodb/adodb-pager.inc.php ThirdParty/adodb/trunk/class/database/adodb/adodb-pear.inc.php ThirdParty/adodb/trunk/class/database/adodb/adodb-perf.inc.php ThirdParty/adodb/trunk/class/database/adodb/adodb-time.inc.php ThirdParty/adodb/trunk/class/database/adodb/adodb-xmlschema.inc.php ThirdParty/adodb/trunk/class/database/adodb/adodb-xmlschema03.inc.php ThirdParty/adodb/trunk/class/database/adodb/adodb.inc.php ThirdParty/adodb/trunk/class/database/adodb/contrib/toxmlrpc.inc.php ThirdParty/adodb/trunk/class/database/adodb/datadict/datadict-db2.inc.php ThirdParty/adodb/trunk/class/database/adodb/datadict/datadict-firebird.inc.php ThirdParty/adodb/trunk/class/database/adodb/datadict/datadict-mssql.inc.php ThirdParty/adodb/trunk/class/database/adodb/datadict/datadict-mssqlnative.inc.php ThirdParty/adodb/trunk/class/database/adodb/datadict/datadict-postgres.inc.php ThirdParty/adodb/trunk/class/database/adodb/datadict/datadict-sybase.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-ado.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-ado5.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-ado_mssql.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-ads.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-db2.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-ibase.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-informix72.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-ldap.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-mssql.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-mssql_n.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-mssqlnative.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-mysql.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-mysqli.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-netezza.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-oci8.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-oci8po.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-odbc.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-odbc_db2.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-odbc_mssql.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-odbtp.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-odbtp_unicode.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-oracle.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-pdo.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-pdo_oci.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-pdo_pgsql.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-pdo_sqlite.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-postgres64.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-postgres7.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-sapdb.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-sqlanywhere.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-sqlite.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-sqlitepo.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-sybase.inc.php ThirdParty/adodb/trunk/class/database/adodb/drivers/adodb-vfp.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-ar.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-bg.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-bgutf8.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-ca.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-cn.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-cz.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-da.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-de.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-en.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-es.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-esperanto.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-fa.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-fr.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-hu.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-it.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-nl.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-pl.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-pt-br.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-ro.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-ru1251.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-sv.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb-uk1251.inc.php ThirdParty/adodb/trunk/class/database/adodb/lang/adodb_th.inc.php ThirdParty/adodb/trunk/class/database/adodb/pear/Auth/Container/ADOdb.php ThirdParty/adodb/trunk/class/database/adodb/perf/perf-db2.inc.php ThirdParty/adodb/trunk/class/database/adodb/perf/perf-mssql.inc.php ThirdParty/adodb/trunk/class/database/adodb/perf/perf-mssqlnative.inc.php ThirdParty/adodb/trunk/class/database/adodb/perf/perf-mysql.inc.php ThirdParty/adodb/trunk/class/database/adodb/perf/perf-oci8.inc.php ThirdParty/adodb/trunk/class/database/adodb/perf/perf-postgres.inc.php ThirdParty/adodb/trunk/class/database/adodb/readme.txt ThirdParty/adodb/trunk/class/database/adodb/rsfilter.inc.php ThirdParty/adodb/trunk/class/database/adodb/tohtml.inc.php ThirdParty/adodb/trunk/class/database/ads_adodb.php ThirdParty/adodb/trunk/class/database/borland_ibase_adodb.php ThirdParty/adodb/trunk/class/database/csv_adodb.php ThirdParty/adodb/trunk/class/database/database.php ThirdParty/adodb/trunk/class/database/databasefactory.php ThirdParty/adodb/trunk/class/database/db2_adodb.php ThirdParty/adodb/trunk/class/database/db2oci_adodb.php ThirdParty/adodb/trunk/class/database/fbsql_adodb.php ThirdParty/adodb/trunk/class/database/firebird_adodb.php ThirdParty/adodb/trunk/class/database/ibase_adodb.php ThirdParty/adodb/trunk/class/database/informix72_adodb.php ThirdParty/adodb/trunk/class/database/informix_adodb.php ThirdParty/adodb/trunk/class/database/ldap_adodb.php ThirdParty/adodb/trunk/class/database/mssql_adodb.php ThirdParty/adodb/trunk/class/database/mssql_n_adodb.php ThirdParty/adodb/trunk/class/database/mssqlnative_adodb.php ThirdParty/adodb/trunk/class/database/mssqlpo_adodb.php ThirdParty/adodb/trunk/class/database/mysql_adodb.php ThirdParty/adodb/trunk/class/database/mysqldatabase.php ThirdParty/adodb/trunk/class/database/mysqli_adodb.php ThirdParty/adodb/trunk/class/database/mysqlpo_adodb.php ThirdParty/adodb/trunk/class/database/mysqlt_adodb.php ThirdParty/adodb/trunk/class/database/netezza_adodb.php ThirdParty/adodb/trunk/class/database/oci805_adodb.php ThirdParty/adodb/trunk/class/database/oci8_adodb.php ThirdParty/adodb/trunk/class/database/oci8po_adodb.php ThirdParty/adodb/trunk/class/database/odbc_adodb.php ThirdParty/adodb/trunk/class/database/odbc_db2_adodb.php ThirdParty/adodb/trunk/class/database/odbc_mssql_adodb.php ThirdParty/adodb/trunk/class/database/odbc_oracle_adodb.php ThirdParty/adodb/trunk/class/database/odbtp_adodb.php ThirdParty/adodb/trunk/class/database/odbtp_unicode_adodb.php ThirdParty/adodb/trunk/class/database/oracle_adodb.php ThirdParty/adodb/trunk/class/database/pdo/ado.php ThirdParty/adodb/trunk/class/database/pdo/ado5.php ThirdParty/adodb/trunk/class/database/pdo/ado_access.php ThirdParty/adodb/trunk/class/database/pdo/ado_mssql.php ThirdParty/adodb/trunk/class/database/pdo/ads.php ThirdParty/adodb/trunk/class/database/pdo/borland_ibase.php ThirdParty/adodb/trunk/class/database/pdo/csv.php ThirdParty/adodb/trunk/class/database/pdo/db2.php ThirdParty/adodb/trunk/class/database/pdo/db2oci.php ThirdParty/adodb/trunk/class/database/pdo/firebird.php ThirdParty/adodb/trunk/class/database/pdo/ibase.php ThirdParty/adodb/trunk/class/database/pdo/informix.php ThirdParty/adodb/trunk/class/database/pdo/informix72.php ThirdParty/adodb/trunk/class/database/pdo/ldap.php ThirdParty/adodb/trunk/class/database/pdo/mssql.php ThirdParty/adodb/trunk/class/database/pdo/mssql_n.php ThirdParty/adodb/trunk/class/database/pdo/mssqlnative.php ThirdParty/adodb/trunk/class/database/pdo/mssqlpo.php ThirdParty/adodb/trunk/class/database/pdo/mysql.php ThirdParty/adodb/trunk/class/database/pdo/mysqli.php ThirdParty/adodb/trunk/class/database/pdo/mysqlpo.php ThirdParty/adodb/trunk/class/database/pdo/mysqlt.php ThirdParty/adodb/trunk/class/database/pdo/netezza.php ThirdParty/adodb/trunk/class/database/pdo/oci8.php ThirdParty/adodb/trunk/class/database/pdo/oci805.php ThirdParty/adodb/trunk/class/database/pdo/oci8po.php ThirdParty/adodb/trunk/class/database/pdo/odbc_adodb.php ThirdParty/adodb/trunk/class/database/pdo/odbc_db2.php ThirdParty/adodb/trunk/class/database/pdo/odbc_mssql.php ThirdParty/adodb/trunk/class/database/pdo/odbc_oracle.php ThirdParty/adodb/trunk/class/database/pdo/odbtp.php ThirdParty/adodb/trunk/class/database/pdo/odbtp_unicode.php ThirdParty/adodb/trunk/class/database/pdo/oracle.php ThirdParty/adodb/trunk/class/database/pdo/pdo.php ThirdParty/adodb/trunk/class/database/pdo/pdo_mssql.php ThirdParty/adodb/trunk/class/database/pdo/pdo_mysql.php ThirdParty/adodb/trunk/class/database/pdo/pdo_oci.php ThirdParty/adodb/trunk/class/database/pdo/pdo_pgsql.php ThirdParty/adodb/trunk/class/database/pdo/pdo_sqlite.php ThirdParty/adodb/trunk/class/database/pdo/pivot.php ThirdParty/adodb/trunk/class/database/pdo/postgres.php ThirdParty/adodb/trunk/class/database/pdo/postgres7.php ThirdParty/adodb/trunk/class/database/pdo/postgres8.php ThirdParty/adodb/trunk/class/database/pdo/proxy.php ThirdParty/adodb/trunk/class/database/pdo/sapdb.php ThirdParty/adodb/trunk/class/database/pdo/sqlanywhere.php ThirdParty/adodb/trunk/class/database/pdo/sqlite.php ThirdParty/adodb/trunk/class/database/pdo/sqlitepo.php ThirdParty/adodb/trunk/class/database/pdo/sybase.php ThirdParty/adodb/trunk/class/database/pdo/sybase_ase.php ThirdParty/adodb/trunk/class/database/pdo/vfp.php ThirdParty/adodb/trunk/class/database/pdo_adodb.php ThirdParty/adodb/trunk/class/database/pdo_mssql_adodb.php ThirdParty/adodb/trunk/class/database/pdo_mysql_adodb.php ThirdParty/adodb/trunk/class/database/pdo_oci_adodb.php ThirdParty/adodb/trunk/class/database/pdo_pgsql_adodb.php ThirdParty/adodb/trunk/class/database/pdo_sqlite_adodb.php ThirdParty/adodb/trunk/class/database/postgres7_adodb.php ThirdParty/adodb/trunk/class/database/postgres8_adodb.php ThirdParty/adodb/trunk/class/database/postgres_adodb.php ThirdParty/adodb/trunk/class/database/proxy_adodb.php ThirdParty/adodb/trunk/class/database/sapdb_adodb.php ThirdParty/adodb/trunk/class/database/sqlanywhere_adodb.php ThirdParty/adodb/trunk/class/database/sqlite_adodb.php ThirdParty/adodb/trunk/class/database/sqlitepo_adodb.php ThirdParty/adodb/trunk/class/database/sqlutility.php ThirdParty/adodb/trunk/class/database/sybase_adodb.php ThirdParty/adodb/trunk/class/database/sybase_ase_adodb.php ThirdParty/adodb/trunk/class/database/vfp_adodb.php Added Paths: ----------- ThirdParty/adodb/releases/0.25/ ThirdParty/adodb/releases/0.25/htdocs/ ThirdParty/adodb/releases/0.25/htdocs/class/ ThirdParty/adodb/releases/0.25/htdocs/class/database/ ThirdParty/adodb/releases/0.25/htdocs/class/database/access_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/ado5_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/ado_access_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/ado_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/ado_mssql_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/ ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-active-record.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-active-recordx.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-csvlib.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-datadict.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-error.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-errorhandler.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-errorpear.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-exceptions.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-iterator.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-lib.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-memcache.lib.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-pager.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-pear.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-perf.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-php4.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-time.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-xmlschema.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb-xmlschema03.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/adodb.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/contrib/ ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/contrib/toxmlrpc.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/datadict/ ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/datadict/datadict-access.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/datadict/datadict-db2.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/datadict/datadict-firebird.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/datadict/datadict-generic.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/datadict/datadict-ibase.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/datadict/datadict-informix.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/datadict/datadict-mssql.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/datadict/datadict-mssqlnative.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/datadict/datadict-mysql.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/datadict/datadict-oci8.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/datadict/datadict-postgres.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/datadict/datadict-sapdb.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/datadict/datadict-sqlite.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/datadict/datadict-sybase.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/ ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-access.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-ado.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-ado5.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-ado_access.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-ado_mssql.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-ads.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-borland_ibase.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-csv.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-db2.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-db2oci.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-db2ora.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-fbsql.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-firebird.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-ibase.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-informix.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-informix72.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-ldap.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-mssql.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-mssql_n.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-mssqlnative.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-mssqlpo.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-mysql.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-mysqli.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-mysqlpo.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-mysqlt.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-netezza.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-oci8.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-oci805.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-oci8po.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-odbc.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-odbc_db2.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-odbc_mssql.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-odbc_oracle.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-odbtp.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-odbtp_unicode.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-oracle.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-pdo.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-pdo_mssql.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-pdo_mysql.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-pdo_oci.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-pdo_pgsql.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-pdo_sqlite.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-postgres.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-postgres64.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-postgres7.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-postgres8.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-proxy.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-sapdb.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-sqlanywhere.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-sqlite.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-sqlitepo.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-sybase.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-sybase_ase.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/drivers/adodb-vfp.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/ ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-ar.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-bg.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-bgutf8.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-ca.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-cn.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-cz.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-da.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-de.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-en.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-es.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-esperanto.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-fa.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-fr.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-hu.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-it.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-nl.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-pl.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-pt-br.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-ro.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-ru1251.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-sv.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb-uk1251.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/lang/adodb_th.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/license.txt ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/pear/ ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/pear/Auth/ ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/pear/Auth/Container/ ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/pear/Auth/Container/ADOdb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/pear/readme.Auth.txt ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/perf/ ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/perf/perf-db2.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/perf/perf-informix.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/perf/perf-mssql.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/perf/perf-mssqlnative.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/perf/perf-mysql.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/perf/perf-oci8.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/perf/perf-postgres.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/pivottable.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/readme.txt ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/rsfilter.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/server.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/toexport.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/tohtml.inc.php ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/xmlschema.dtd ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/xmlschema03.dtd ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/xsl/ ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/xsl/convert-0.1-0.2.xsl ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/xsl/convert-0.1-0.3.xsl ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/xsl/convert-0.2-0.1.xsl ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/xsl/convert-0.2-0.3.xsl ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/xsl/remove-0.2.xsl ThirdParty/adodb/releases/0.25/htdocs/class/database/adodb/xsl/remove-0.3.xsl ThirdParty/adodb/releases/0.25/htdocs/class/database/ads_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/borland_ibase_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/csv_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/database.php ThirdParty/adodb/releases/0.25/htdocs/class/database/databasefactory.php ThirdParty/adodb/releases/0.25/htdocs/class/database/db2_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/db2oci_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/fbsql_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/firebird_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/ibase_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/index.html ThirdParty/adodb/releases/0.25/htdocs/class/database/informix72_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/informix_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/ldap_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/mssql_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/mssql_n_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/mssqlnative_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/mssqlpo_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/mysql_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/mysqldatabase.php ThirdParty/adodb/releases/0.25/htdocs/class/database/mysqli_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/mysqlpo_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/mysqlt_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/netezza_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/oci805_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/oci8_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/oci8po_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/odbc_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/odbc_db2_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/odbc_mssql_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/odbc_oracle_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/odbtp_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/odbtp_unicode_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/oracle_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/ ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/ado.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/ado5.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/ado_access.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/ado_mssql.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/ads.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/borland_ibase.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/csv.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/db2.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/db2oci.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/firebird.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/ibase.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/index.html ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/informix.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/informix72.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/ldap.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/mssql.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/mssql_n.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/mssqlnative.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/mssqlpo.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/mysql.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/mysqli.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/mysqlpo.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/mysqlt.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/netezza.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/oci8.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/oci805.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/oci8po.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/odbc_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/odbc_db2.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/odbc_mssql.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/odbc_oracle.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/odbtp.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/odbtp_unicode.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/oracle.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/pdo.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/pdo_mssql.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/pdo_mysql.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/pdo_oci.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/pdo_pgsql.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/pdo_sqlite.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/pivot.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/postgres.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/postgres7.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/postgres8.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/proxy.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/sapdb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/sqlanywhere.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/sqlite.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/sqlitepo.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/sybase.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/sybase_ase.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo/vfp.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo_mssql_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo_mysql_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo_oci_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo_pgsql_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/pdo_sqlite_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/postgres7_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/postgres8_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/postgres_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/proxy_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/sapdb_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/sqlanywhere_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/sqlite_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/sqlitepo_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/sqlutility.php ThirdParty/adodb/releases/0.25/htdocs/class/database/sybase_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/sybase_ase_adodb.php ThirdParty/adodb/releases/0.25/htdocs/class/database/vfp_adodb.php Added: ThirdParty/adodb/releases/0.25/htdocs/class/database/access_adodb.php =================================================================== --- ThirdParty/adodb/releases/0.25/htdocs/class/database/access_adodb.php (rev 0) +++ ThirdParty/adodb/releases/0.25/htdocs/class/database/access_adodb.php 2012-01-29 21:48:08 UTC (rev 8830) @@ -0,0 +1,1774 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +*/ + +/** + * Factory Class for Xoops Database + * + * @copyright The XOOPS project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package kernel + * @subpackage database + * @since 2.6.0 + * @author Kazumi Ono <on...@xo...> + * @author Simon Roberts <si...@xo...> + * @version $Id: mysqldatabase.php 3775 2009-10-23 10:29:51Z trabis $ + */ +defined('XOOPS_ROOT_PATH') or die('Restricted access'); + +/** + * + * @package kernel + * @subpackage database + * @author Kazumi Ono <on...@xo...> + * @copyright copyright (c) 2000-2003 XOOPS.org + */ + +/** + * base class + */ +include_once XOOPS_ROOT_PATH . '/class/database/database.php'; +include_once XOOPS_ROOT_PATH . '/class/database/adodb/adodb.inc.php'; +include_once XOOPS_ROOT_PATH . '/class/database/pdo/'.XOOPS_DB_TYPE.'.php'; + +// xoops_load( 'xoopsdatabase' ); +/** + * connection to a mysql database + * + * @abstrac + * @author Kazumi Ono <on...@xo...> + * @copyright copyright (c) 2000-2003 XOOPS.org + * @package kernel + * @subpackage database + */ +class XoopsAccess_ADODBDatabase extends XoopsDatabase +{ + /** + * Database connection + * + * @var resource + */ + var $conn; + + /** + * connect to the database + * + * @param bool $selectdb select the database now? + * @return bool successful? + */ + public function connect($selectdb = true) + { + static $db_charset_set;$this->allowWebChanges = ($_SERVER['REQUEST_METHOD'] != 'GET'); + + // This is a global variable that determines how arrays are retrieved by recordsets. The recordset saves this value on creation (eg.// + // in Execute( ) or SelectLimit( )), and any subsequent changes to $ADODB_FETCH_MODE have no affect on existing recordsets, only on + // recordsets created in the future + $ADODB_FETCH_MODE = ADODB_FETCH_ASSOC; // Options: ADODB_FETCH_DEFAULT, ADODB_FETCH_NUM, ADODB_FETCH_ASSOC, ADODB_FETCH_BOTH + + // If you are using recordset caching, this is the directory to save your recordsets in. Define this before you call any caching + // public functions such as CacheExecute( ). We recommend setting register_globals=off in php.ini if you use this feature for security reasons. + $ADODB_CACHE_DIR = XOOPS_VAR_PATH . DIRECTORY_SEPARATOR . 'caches'. DIRECTORY_SEPARATOR .'adodb_cache'; + + + // If the database driver API does not support counting the number of records returned in a SELECT statement, the public function RecordCount() + // is emulated when the global variable $ADODB_COUNTRECS is set to true, which is the default. We emulate this by buffering the records, + // which can take up large amounts of memory for big recordsets. Set this variable to false for the best performance. This variable is + // checked every time a query is executed, so you can selectively choose which recordsets to count. + $ADODB_COUNTRECS = true; + + //Determines the language used in MetaErrorMsg(). The default is 'en', for English. To find out what languages are supported, see the + // files in adodb/lang/adodb-$lang.inc.php, where $lang is the supported language. + $ADODB_LANG = 'en'; + + // Determines whether to right trim CHAR fields (and also VARCHAR for ibase/firebird). Set to true to trim. Default is false. + // Currently works for oci8po, ibase and firebird drivers. + $ADODB_ANSI_PADDING_OFF = true; + + + $this->conn = @NewADOConnection(XOOPS_DB_DSN); + $this->conn->setFetchMode($ADODB_FETCH_MODE); + + + if (!$this->conn) { + $this->logger->addQuery('', $this->error(), $this->errno()); + return false; + } + } + + /** + * check if connected to a database + * + * @return true if connected to database + */ + public function isConnected() + { + return @$this->conn->IsConnected(); // will use auto_increment + } + + /** + * execute a sql question to the database + * + * @param $sql parameter SQL statement and return derived class of ADORecordSet if successful + * @param $inputarr parameter can be used for binding variables to parameters + * @return ADORecordset Objects + */ + public function execute($sql, $inputarr=false) + { + return @$this->conn->Execute($sql, $inputarr); // will use auto_increment + } + + /** + * Similar to Execute, except that the recordset is cached for $secs2cache seconds + * + * @param $secs2cache the recordset is cached for $secs2cache seconds + * @param $sql parameter SQL statement and return derived class of ADORecordSet if successful + * @param $inputarr parameter can be used for binding variables to parameters + * @return ADODBRecordset Object from cache + */ + public function executeCache($secs2cache,$sql,$inputarr=false) + { + return @$this->conn->CacheExecute($secs2cache,$sql,$inputarr); + } + + /** + * Execute an Oracle stored procedure, and returns an Oracle REF cursor variable as a regular ADOdb recordset + * + * @param $cursorName Oracle REF cursor variable as a regular ADOdb recordset + * @param $sql parameter SQL statement and return derived class of ADORecordSet if successful + * @param $parameters parameter can be used for binding variables to parameters + * @returntrue if connected to database + */ + public function executeCursor($sql,$cursorName='rs',$parameters=false) + { + if (XOOPS_DB_TYPE!='oci8_adodb') + trigger_error('ADODB: Function not supported by database type! Function: '.__FUNC__.'; Class: '.__CLASS__); + else + return @$this->conn->ExecuteCursor($sql,$cursorName,$parameters); + } + + /** + * Returns a recordset if successful. Returns false otherwise. Performs a select statement. + * + * @param $sql parameter SQL statement and return derived class of ADORecordSet if successful + * @param $numrows number of rows to return + * @param $offset offset in record count to load from. + * @param $inputarr parameter can be used for binding variables to parameters + * @return ADORecordset Object + */ + public function fetchSelectLimit($sql,$numrows=-1,$offset=-1,$inputarr=false) + { + return @$this->conn->SelectLimit($sql,$numrows,$offset,$inputarr); + } + + /** + * Similar to SelectLimit, except that the recordset returned is cached for $secs2cache seconds + * + * @param $secs2cache the recordset is cached for $secs2cache seconds + * @param $sql parameter SQL statement and return derived class of ADORecordSet if successful + * @param $numrows number of rows to return + * @param $offset offset in record count to load from. + * @param $inputarr parameter can be used for binding variables to parameters + * @return true if connected to database + */ + public function fetchCacheSelectLimit($secs2cache, $sql, $numrows=-1,$offset=-1,$inputarr=false) + { + return @$this->conn->CacheSelectLimit($secs2cache, $sql, $numrows,$offset,$inputarr); + } + + /** + * Flush (delete) any cached recordsets for the SQL statement $sql in $ADODB_CACHE_DIR + * + * @param $sql parameter SQL statement and return derived class of ADORecordSet if successful + * @returntrue if connected to database + */ + public function flushCache($sql=false) + { + return @$this->conn->CacheFlush($sql); + } + + /** + * Prepares (compiles) an SQL query for repeated execution. Bind parameters are denoted by ? + * except for the oci8 driver, which uses the traditional Oracle :varname convention. + * + * @param $sql parameter SQL statement and return derived class of ADORecordSet if successful + * @returntrue if connected to database + */ + public function getPrepare($sql) + { + return @$this->conn->Prepare($sql); + } + + /** + * hen calling stored procedures in mssql and oci8 (oracle), and you might want to directly bind to parameters + * except for the oci8 driver, which uses the traditional Oracle :varname convention. + * + * @param $cursor Oracle REF cursor variable as a regular ADOdb recordset + * @param $sql parameter SQL statement and return derived class of ADORecordSet if successful + * @returntrue if connected to database + */ + public function getPrepareSP($sql, $cursor=false) + { + return @$this->conn->Prepare($sql); + } + + /** + * Binds a PHP variable as input to a stored procedure variable. + * + * @param $stmt is the value returned by PrepareSP() + * @param $var is the PHP variable you want to bind + * @param $name is the name of the stored + * @param $maxLen the maximum length of the data to bind + * @param $type which is database dependant + * @returntrue if connected to database + */ + public function setInParameter($stmt, $var, $name, $maxLen = 4000, $type = false ) + { + return @$this->conn->InParameter($stmt, $var, $name, $maxLen, $type); + } + + /** + * Binds a PHP variable as output from a stored procedure variable. + * + * @param $stmt is the value returned by PrepareSP() + * @param $var is the PHP variable you want to bind + * @param $name is the name of the stored + * @param $maxLen the maximum length of the data to bind + * @param $type which is database dependant + * @returntrue if connected to database + */ + public function setOutParameter($stmt, $var, $name, $maxLen = 4000, $type = false ) + { + return @$this->conn->OutParameter($stmt, $var, $name, $maxLen, $type); + } + + /** + * Binds a PHP variable as output from a stored procedure variable. + * + * @param $stmt is the value returned by PrepareSP() + * @param $var is the PHP variable you want to bind + * @param $name is the name of the stored + * @param $isOutput Indicates direction of parameter 0/false=IN 1=OUT 2= IN/OUT + * @param $maxLen the maximum length of the data to bind + * @param $type which is database dependant + * @returntrue if connected to database + */ + public function setParameter($stmt, $var, $name, $isOutput=false, $maxLen = 4000, $type = false ) + { + trigger_error('ADODB: This public function is deprecated. Use InParameter( ) and OutParameter( ) instead. - Function: '.__FUNC__.'; Class='.__CLASS__); + return @$this->conn->Parameter($stmt, $var, $name, $isOutput, $maxLen, $types); + } + + /** + * Generates a bind placeholder portably. + * For most databases, the bind placeholder is "?" + * + * @param $name string to be encoded as parameter binding + * @return string portably define an SQL statement with bind parameters + */ + public function setParam($name) + { + return @$this->conn->Param($name); + } + + /** + * Executes the SQL and returns the first field of the first row + * + * @param $sql parameter SQL statement and return derived class of ADORecordSet if successful + * @return string the first field of the first rowe + */ + public function getOne($sql) + { + return @$this->conn->GetOne($sql); + } + + /** + * Returns an associative array for the given query $sql with optional bind parameters in $inputarr + * + * @param $sql query + * @param $inputarr optional bind parameters + * @param $force_array is set to true, when an array is created for each value + * @param $first2cols Indicates direction of parameter + * @return array an associative array for the given query + */ + public function getAssoc($sql,$inputarr=false,$force_array=false,$first2cols=false) + { + return @$this->conn->GetAssoc($sql,$inputarr,$force_array,$first2cols); + } + + /** + * Caching version of GetAssoc public function above + * + * @param $secs2cache the recordset is cached for $secs2cache seconds + * @param $sql query + * @param $inputarr optional bind parameters + * @param $force_array is set to true, when an array is created for each value + * @param $first2cols Indicates direction of parameter + * @return array an associative array for the given query + */ + public function getCacheAssoc($secs2cache,$sql,$inputarr=false,$force_array=false,$first2cols=false) + { + return @$this->conn->GetAssoc($sql,$inputarr,$force_array,$first2cols); + } + + + /** + * Returns the median value of $field for $table + * + * @param $table table name to get median from + * @param $field field in table to get median from + * @param $where The $where clause is optional. If used, make sure the WHERE is included, as in "WHERE name > 'A'" + * @return string the median value of $field for $table + */ + public function getMedian($table, $field, $where='') + { + return @$this->conn->GetMedian($table, $field, $where); + } + + /** + * Executes the SQL and returns the first row as an array + * + * @param $sql query + * @return array First row as an array + */ + public function getRow($sql) + { + return @$this->conn->GetRow($sql); + } + + /** + * Executes the SQL and returns the first row as an array, <br /> + * except that the recordset is serialized and cached + * + * @param integer $secs2cache number of seconds to cache for + * @param string $sql query + * @return array First row as an array + */ + public function getCacheRow($secs2cache, $sql) + { + return @$this->conn->CacheGetRow($secs2cache, $sql); + } + + /** + * Executes the SQL and returns the all the rows as a 2-dimensional array + * The recordset is discarded for you automatically + * + * @param string $sql query + * @param array $inputarr parameters to bind to sql query + * @return array he all the rows as a 2-dimensional array + */ + public function getAll($sql,$inputarr=false) + { + return @$this->conn->GetAll($sql,$inputarr); // will use auto_increment + } + + /** + * Executes the SQL and returns the all the rows as a 2-dimensional array + * Similar to above GetAll public functions, except that the recordset is serialized and cached + * + * @param array $secs2cache seconds to cache query + * @param string $sql query + * @returntrue if connected to database + */ + public function getCacheAll($secs2cache, $sql) + { + return @$this->conn->CacheGetAll($secs2cache, $sql); + } + + /** + * Executes the SQL and returns all elements of the first column as a 1-dimensional array + * + * @param string $sql query + * @return array all elements of the first column as a 1-dimensional array + */ + public function fetchGetCol($sql) + { + return @$this->conn->GetCol($sql); + } + + /** + * Executes the SQL and returns all elements of the first column as a 1-dimensional array + * Similar to above GetCol public functions, except that the recordset is serialized and cached + * + * @param array $secs2cache seconds to cache query + * @param string $sql query + * @return array all elements of the first column as a 1-dimensional array + */ + public function fetchCacheGetCol($secs2cache, $sql) + { + return @$this->conn->CacheGetCol($secs2cache, $sql); + } + + /** + * Try to update a record, and if the record is not found, an insert statement is generated and executed + * + * @param string $table which is the table name + * @param array $arrFields which is an associative array where the keys are the field names + * @param array $keyCols is the name of the primary key, or an array of field names if it is a compound key + * @param boolean $autoQuote will quote all values that are non-numeric; auto-quoting will not quote nullss + * @return integer Try to update a record, and if the record is not found, an insert statement is generated and executed + */ + public function setReplace($table, $arrFields, $keyCols,$autoQuote=false) + { + return @$this->conn->Replace($table, $arrFields, $keyCols,$autoQuote); + } + + /** + * AutoExecute() inserts or updates $table given an array of $arrField. + * + * @param string $table which is the table name. + * @param array $arrFields which is an associative array where the keys are the field names. + * @param array $mode is enumerator either DB_AUTOQUERY_INSERT or DB_AUTOQUERY_UPDATE. + * @param string $where clause is required if $mode == 'UPDATE'. + * @param boolean $forceUpdate false then we will query the database first and check if the field value returned by <br /> + the query matches the current field value. + * @param boolean $magicq is used to indicate whether magic quotes are enabled + * @returntrue if connected to database + */ + public function setAutoExecute($table, $arrFields, $mode, $where=false, $forceUpdate=true,$magicq=false) + { + return @$this->conn->AutoExecute($table, $arrFields, $mode, $where, $forceUpdate,$magicq); + } + + /** + * Generate SQL to update a table given a recordset $rs, and the modified fields of the array $arrFields + * (which must be an associative array holding the column names and the new values).s + * + * @param object $rs ADORecordset Object + * @param array $arrFields modified fields of the array. + * @param boolean $forceUpdate is true, then we also generate the SQL even if $arrFields is identical to $rs->fields. + * @param boolean $magicq is used to indicate whether magic quotes are enabled. + * @param boolean $forcenulls is used to indicate whether NULLS are forced with the update. + * @return string Update SQL Query/Question + */ + public function getUpdateSQL(&$rs, $arrFields, $forceUpdate=false,$magicq=false,$forcenulls=false) + { + return @$this->conn->GetUpdateSQL($rs, $arrFields, $forceUpdate,$magicq,$forcenulls); + } + + /** + * Generate SQL to insert into a table given a recordset $rs. Requires the query to be associative. + * + * @param object $rs ADORecordset Object + * @param array $arrFields modified fields of the array. + * @param boolean $magicq is used to indicate whether magic quotes are enabled. + * @param boolean $forcenulls is used to indicate whether NULLS are forced with the update. + * @return string Update SQL Query/Question + */ + public function getInsertSQL(&$rs, $arrFields,$magicq=false,$forcenulls=false) + { + return @$this->conn->GetInsertSQL($rs, $arrFields, $magicq,$forcenulls); + } + + /** + * Allows you to store a blob (in $val) into $table into $column in a row at $where + * + * @param string $table Table in database for blob + * @param string $column Column in table in database for blob. + * @param string $val Value to set blob. + * @param string $where SQL Where clause include ie. WHERE 1=1. + * @return boolean true if successful, false otherwise + */ + public function setUpdateBlob($table, $column, $val, $where) + { + return @$this->conn->UpdateBlob($table, $column, $val, $where); + } + + /** + * Allows you to store a clob (in $val) into $table into $column in a row at $where. + * Similar to UpdateBlob (see above), but for Character Large OBjects + * + * @param string $table Table in database for blob + * @param string $column Column in table in database for blob. + * @param string $val Value to set blob. + * @param string $where SQL Where clause include ie. WHERE 1=1. + * @return boolean true if successful, false otherwise + */ + public function setUpdateClob($table,$column,$val,$where) + { + return @$this->conn->UpdateClob($table,$column,$val,$where); + } + + /** + * Allows you to store a blob (in $val) into $table into $column in a row at $where + * Similar to UpdateBlob, except that we pass in a file path to where the blob resides. + * + * @param string $table Table in database for blob + * @param string $column Column in table in database for blob. + * @param string $path Real Path of the Blob to be put in the database. + * @param string $where SQL Where clause include ie. WHERE 1=1. + * @param enum $blobtype Type field for blob default ie. BLOB. + * @return boolean true if successful, false otherwise + */ + public function setUpdateBlobFile($table,$column,$path,$where,$blobtype='BLOB') + { + return @$this->conn->UpdateBlobFile($table,$column,$path,$where,$blobtype); + } + + + /** + * Some databases require blob's to be encoded manually before uploading + * + * @param string $blob data to be encoded. + * @return string the encoded blob value + */ + public function getBlobEncode($blob) + { + return @$this->conn->BlobEncode($blob); + } + + /** + * Some databases require blob's to be decoded manually after doing a select statement + * + * @param string $blob data to be encoded. + * @param integer $maxblobsize The default maxblobsize is set in $connection->maxblobsize, which is set to 256K. + * @return string the decoded blob value + */ + public function getBlobDecode($blob, $maxblobsize=false) + { + return @$this->conn->BlobDecode($blob,$maxblobsize); + } + + /** + * Used for pagination of recordset. $page is 1-based + * + * @param string $sql data to be encoded. + * @param integer $nrows Number of rows per page + * @param integer $page Page Number on. + * @param array $inputarr Variable to bind to the SQL statement (optional) + * @return string the decoded blob value + */ + public function fetchPageExecute($sql, $nrows, $page, $inputarr=false) + { + return @$this->conn->PageExecute($sql, $nrows, $page, $inputarr); + } + + /** + * Used for pagination of recordset. $page is 1-based + * Caching version of PageExecute + * + * @param integer $secs2cache Seconds to hold in cache + * @param string $sql data to be encoded. + * @param integer $nrows Number of rows per page + * @param integer $page Page Number on. + * @param array $inputarr Variable to bind to the SQL statement (optional) + * @return string the decoded blob value + */ + public function fetchCachePageExecute($secs2cache, $sql, $nrows, $page, $inputarr=false) + { + return @$this->conn->CachePageExecute($secs2cache, $sql, $nrows, $page, $inputarr); + } + + /** + * Start a monitored transaction. As SQL statements are executed, ADOdb will monitor for SQL errors, + * and if any are detected, when CompleteTrans() is called, we auto-rollback. + * + * @return boolean true if successful. + */ + public function setStartTrans() + { + return @$this->conn->StartTrans(); + } + + /** + * Start a monitored transaction. As SQL statements are executed, ADOdb will monitor for SQL errors, + * and if any are detected, when CompleteTrans() is called, we auto-rollback. + * + * @return boolean true if successful. + */ + public function setBeginTrans() + { + return @$this->conn->BeginTrans(); + } + + + /** + * Complete a transaction called with StartTrans() + * This public function monitors for SQL errors, and will commit if no errors have occured, otherwise it will rollback. + * + * @param boolean $autoComplete is true monitor sql errors and commit and rollback as appropriate + * @return boolean true on commit, false on rollback + */ + public function setCompleteTrans($autoComplete=true) + { + return @$this->conn->CompleteTrans($autoComplete); + } + + /** + * Fail a transaction started with StartTrans(). The rollback will only occur when CompleteTrans() is called + * + * @return boolean true + */ + public function isFailTrans() + { + return @$this->conn->FailTrans(); + } + + /** + * Check whether smart transaction has failed, eg. returns true if SQL execution failed, or FailTrans() was called. + * + * @return boolean true + */ + public function hasFailedTrans() + { + return @$this->conn->HasFailedTrans(); + } + + /** + * SetTransactionMode allows you to pass in the transaction mode to use for all subsequent transactions for that connection session + * + * @param enum $mode Supported values: READ UNCOMMITTED; READ COMMITTED; REPEATABLE READ; SERIALIZABLE; (oci8) SNAPSHOT; READ ONLY. + * @return string the decoded blob value + */ + public function setTransactionMode($mode ) + { + return @$this->conn->SetTransactionMode($mode); + } + + /** + * End a transaction successfully + * + * @param boolean $ok you pass the parameter false, the data is rolled back. . + * @return boolean will return true also as data is always committed. + */ + public function setCommitTrans($ok=true) + { + return @$this->conn->CommitTrans($ok); + } + + /** + * End a transaction, rollback all changes + * + * @param boolean $ok you pass the parameter false, the data is rolled back. . + * @return boolean true if successful. If the database does not support transactions, will return false as data is never rollbacked. + */ + public function setRollbackTrans($ok=true) + { + return @$this->conn->RollbackTrans($ok); + } + + /** + * Sets the current fetch mode for the connection and stores. + * + * @param enum $mode Legal modes are ADODB_FETCH_ASSOC and ADODB_FETCH_NUM. + * @return string the decoded blob value + */ + public function setFetchMode($mode) + { + return @$this->conn->SetFetchMode($mode); + } + + /** + * Generates the sql string used to concatenate $sa, $sb, etc together + * + * @param string $sa string to concatinate. (required) + * @param string $sb string to concatinate. (required) + * @param string $sc string to concatinate. (optional) + * @param string $sd string to concatinate. (optional) + * @param string $se string to concatinate. (optional) + * @param string $sf string to concatinate. (optional) + * @param string $sg string to concatinate. (optional) + * @param string $sh string to concatinate. (optional) + * @param string $si string to concatinate. (optional) + * @param string $sj string to concatinate. (optional) + * @param string $sk string to concatinate. (optional) + * @param string $sl string to concatinate. (optional) + * @param string $sm string to concatinate. (optional) + * @param string $sn string to concatinate. (optional) + * @param string $so string to concatinate. (optional) + * @param string $sp string to concatinate. (optional) + * @param string $sq string to concatinate. (optional) + * @param string $sr string to concatinate. (optional) + * @param string $ss string to concatinate. (optional) + * @param string $st string... [truncated message content] |