adodb-csvlib.inc.php -
3 functions/classes, 311 lines, 8587 bytes
33: function _rs2serialize (&$rs,$conn=false,$sql='');
92: function &csv2rs ($url,&$err,$timeout=0, $rsclass='ADORecordSet_array');
263: function adodb_write_file ($filename, $contents,$debug=false);
adodb-error.inc.php -
9 functions/classes, 257 lines, 8762 bytes
45: function adodb_errormsg ($value);
45: function adodb_error ($provider,$dbType,$errno);
114: function adodb_error_odbc ();
145: function adodb_error_ibase ();
175: function adodb_error_ifx ();
193: function adodb_error_oci8 ();
212: function adodb_error_mssql ();
222: function adodb_error_sqlite ();
231: function adodb_error_mysql ();
adodb-errorhandler.inc.php -
1 functions/classes, 79 lines, 2828 bytes
30: function ADODB_Error_Handler ($dbms, $fn, $errno, $errmsg, $p1, $p2, &$thisConnection);
adodb-errorpear.inc.php -
2 functions/classes, 88 lines, 2363 bytes
41: function ADODB_Error_PEAR ($dbms, $fn, $errno, $errmsg, $p1=false, $p2=false);
80: function &ADODB_PEAR_Error ();
adodb-exceptions.inc.php -
3 functions/classes, 80 lines, 2263 bytes
19: class ADODB_Exception extends Exception;
27: function __construct ($dbms, $fn, $errno, $errmsg, $p1, $p2, $thisConnection);
68: function adodb_throw ($dbms, $fn, $errno, $errmsg, $p1, $p2, $thisConnection);
adodb-iterator.inc.php -
12 functions/classes, 84 lines, 1679 bytes
23: class ADODB_Iterator implements Iterator;
27: function __construct ($rs);
31: function rewind ();
36: function valid ();
41: function key ();
46: function current ();
51: function next ();
56: function __call ($func, $params);
62: function hasMore ();
70: class ADODB_BASE_RS implements IteratorAggregate;
71: function getIterator ();
76: function __toString ();
adodb-lib.inc.php -
13 functions/classes, 899 lines, 28884 bytes
21: function _array_change_key_case ($an_array);
34: function _adodb_replace (&$zthis, $table, $fieldArray, $keyCol, $autoQuote, $has_autoinc);
110: function _adodb_getmenu (&$zthis, $name,$defstr='',$blank1stItem=true,$multiple=false, $size=0, $selectAttr='',$compareFields0=true);
176: function _adodb_getcount (&$zthis, $sql,$inputarr=false,$secs2cache=0);
263: function &_adodb_pageexecute_all_rows (&$zthis, $sql, $nrows, $page, $inputarr=false, $secs2cache=0);
317: function &_adodb_pageexecute_no_last_page (&$zthis, $sql, $nrows, $page, $inputarr=false, $secs2cache=0);
367: function _adodb_getupdatesql (&$zthis,&$rs, $arrFields,$forceUpdate=false,$magicq=false,$force=2);
499: function adodb_key_exists ($key, &$arr,$force=2);
519: function _adodb_getinsertsql (&$zthis,&$rs,$arrFields,$magicq=false,$force=2);
670: function _adodb_column_sql_oci8 (&$zthis,$action, $type, $fname, $fnameq, $arrFields, $magicq);
670: function _adodb_column_sql (&$zthis, $action, $type, $fname, $fnameq, $arrFields, $magicq, $recurse=true);
798: function _adodb_debug_execute (&$zthis, $sql, $inputarr);
846: function _adodb_backtrace ($printOrArr=true,$levels=9999);
adodb-pager.inc.php -
12 functions/classes, 289 lines, 8445 bytes
23: class ADODB_Pager;
57: function ADODB_Pager (&$db,$sql,$id = 'adodb', $showPageLinks = false);
82: function Render_First ($anchor=true);
96: function render_next ($anchor=true);
115: function render_last ($anchor=true);
132: function render_pagelinks ();
167: function render_prev ($anchor=true);
184: function RenderGrid ();
200: function RenderNav ();
227: function RenderPageCount ();
82: function Render ($rows=10);
275: function RenderLayout ($header,$grid,$footer,$attributes='border=1 bgcolor=beige');
adodb-pear.inc.php -
8 functions/classes, 374 lines, 9936 bytes
100: class DB;
111: function &factory ($type);
138: function &connect ($dsn, $options = false);
198: function apiVersion ();
210: function isError ($value);
228: function isWarning ($value);
269: function parseDSN ($dsn);
360: function assertExtension ($name);
adodb-perf.inc.php -
29 functions/classes, 931 lines, 28207 bytes
23: function adodb_round ($n,$prec);
29: function adodb_microtime ();
37: function adodb_log_sql (&$conn,$sql,$inputarr);
175: class adodb_perf;
190: function table ($newtable = false);
200: function _CPULoad ();
259: function MemInfo ();
291: function CPULoad ();
322: function Tracer ($sql);
350: function Explain ($sql,$partial=false);
355: function InvalidSQL ($numsql = 10);
378: function _SuspiciousSQL ($numsql = 10);
435: function CheckMemory ();
441: function SuspiciousSQL ($numsql=10);
446: function ExpensiveSQL ($numsql=10);
457: function _ExpensiveSQL ($numsql = 10);
515: function DBParameter ($param);
525: function &PollParameters ();
537: function _DBParameter ($sql);
584: function WarnCacheRatio ($val);
596: function UI ($pollsecs=5);
525: function Poll ($secs=5);
731: function HealthCheckCLI ();
731: function HealthCheck ($cli=false);
809: function Tables ($orderby='1');
821: function CreateLogTable ();
831: function DoSQLForm ();
910: function SplitSQL ($sql);
916: function undomq (&$m);
adodb-php4.inc.php -
1 functions/classes, 16 lines, 335 bytes
12: class ADODB_BASE_RS;
adodb-time.inc.php -
14 functions/classes, 984 lines, 30118 bytes
304: function adodb_date_test_date ($y1,$m);
304: function adodb_date_test ();
472: function adodb_dow ($year, $month, $day);
510: function _adodb_is_leap_year ($year);
527: function adodb_is_leap_year ($year);
536: function adodb_year_digit_check ($y);
562: function adodb_get_gmt_diff ();
74: function adodb_getdate ($d=false,$fast=false);
591: function _adodb_getdate ($origd=false,$fast=false,$is_gmt=false);
136: function adodb_gmdate ($fmt,$d=false);
131: function adodb_date2 ($fmt, $d=false, $is_gmt=false);
80: function adodb_date ($fmt,$d=false,$is_gmt=false);
148: function adodb_gmmktime ($hr,$min,$sec,$mon=false,$day=false,$year=false,$is_dst=false);
143: function adodb_mktime ($hr,$min,$sec,$mon=false,$day=false,$year=false,$is_dst=false,$is_gmt=false);
adodb.inc.php -
186 functions/classes, 3824 lines, 112996 bytes
132: function ADODB_str_replace ($src, $dest, $data);
146: function ADODB_Setup ();
192: class ADOFieldObject;
215: function ADODB_TransMonitor ($dbms, $fn, $errno, $errmsg, $p1, $p2, &$thisConnection);
226: class ADOConnection;
323: function ADOConnection ();
328: function Version ();
341: function ServerInfo ();
346: function IsConnected ();
351: function _findvers ($str);
361: function outp ($msg,$newline=true);
385: function Time ();
404: function Connect ($argHostname = "", $argUsername = "", $argPassword = "", $argDatabaseName = "", $forceNew = false);
434: function _nconnect ($argHostname, $argUsername, $argPassword, $argDatabaseName);
450: function NConnect ($argHostname = "", $argUsername = "", $argPassword = "", $argDatabaseName = "");
465: function PConnect ($argHostname = "", $argUsername = "", $argPassword = "", $argDatabaseName = "");
495: function SQLDate ($fmt, $col=false);
516: function Prepare ($sql);
535: function PrepareSP ($sql,$param=true);
543: function Quote ($s);
551: function QMagic ($s);
543: function q (&$s);
564: function ErrorNative ();
573: function nextId ($seq_name);
585: function RowLock ($table,$where);
590: function CommitLock ($table);
595: function RollbackLock ($table);
609: function SetFetchMode ($mode);
625: function &Query ($sql, $inputarr=false);
636: function &LimitQuery ($sql, $offset, $count, $params=false);
647: function Disconnect ();
661: function Param ($name,$type='C');
669: function InParameter (&$stmt,&$var,$name,$maxLen=4000,$type=false);
676: function OutParameter (&$stmt,&$var,$name,$maxLen=4000,$type=false);
697: function Parameter (&$stmt,&$var,$name,$isOutput=false,$maxLen=4000,$type=false);
712: function StartTrans ($errfn = 'ADODB_TransMonitor');
737: function CompleteTrans ($autoComplete = true);
763: function FailTrans ();
778: function HasFailedTrans ();
791: function &Execute ($sql,$inputarr=false);
854: function &_Execute ($sql,$inputarr=false);
904: function CreateSequence ($seqname='adodbseq',$startID=1);
910: function DropSequence ($seqname='adodbseq');
924: function GenID ($seqname='adodbseq',$startID=1);
952: function Insert_ID ($table='',$column='');
970: function PO_Insert_ID ($table="", $id="");
982: function Affected_Rows ();
1000: function ErrorMsg ();
1009: function ErrorNo ();
1014: function MetaError ($err=false);
1021: function MetaErrorMsg ($errno);
1030: function MetaPrimaryKeys ($table, $owner=false);
1050: function MetaForeignKeys ($table, $owner=false, $upper=false);
1060: function SelectDB ($dbName);
1083: function &SelectLimit ($sql,$nrows=-1,$offset=-1, $inputarr=false,$secs2cache=0);
1151: function &SerializableRS (&$rs);
1170: function &_rs2rs (&$rs,$nrows=-1,$offset=-1,$close=true);
1209: function &GetAll ($sql, $inputarr=false);
1215: function &GetAssoc ($sql, $inputarr=false,$force_array = false, $first2cols = false);
1226: function &CacheGetAssoc ($secs2cache, $sql=false, $inputarr=false,$force_array = false, $first2cols = false);
1248: function GetOne ($sql,$inputarr=false);
1264: function CacheGetOne ($secs2cache,$sql=false,$inputarr=false);
1276: function GetCol ($sql, $inputarr = false, $trim = false);
1298: function CacheGetCol ($secs, $sql = false, $inputarr = false,$trim=false);
1326: function OffsetDate ($dayFraction,$date=false);
1338: function &GetArray ($sql,$inputarr=false);
1357: function &CacheGetAll ($secs2cache,$sql=false,$inputarr=false);
1362: function &CacheGetArray ($secs2cache,$sql=false,$inputarr=false);
1390: function &GetRow ($sql,$inputarr=false);
1410: function &CacheGetRow ($secs2cache,$sql=false,$inputarr=false);
1443: function Replace ($table, $fieldArray, $keyCol, $autoQuote=false, $has_autoinc=false);
1470: function &CacheSelectLimit ($secs2cache,$sql,$nrows=-1,$offset=-1,$inputarr=false);
1488: function CacheFlush ($sql=false,$inputarr=false);
1532: function _gencachename ($sql,$createdir);
1567: function &CacheExecute ($secs2cache,$sql=false,$inputarr=false);
1652: function AutoExecute ($table, $fields_values, $mode = 'INSERT', $where = FALSE, $forceUpdate=true, $magicq=false);
1695: function GetUpdateSQL (&$rs, $arrFields,$forceUpdate=false,$magicq=false,$force=null);
1723: function GetInsertSQL (&$rs, $arrFields,$magicq=false,$force=null);
1755: function UpdateBlob ($table,$column,$val,$where,$blobtype='BLOB');
1769: function UpdateBlobFile ($table,$column,$path,$where,$blobtype='BLOB');
1778: function BlobDecode ($blob);
1783: function BlobEncode ($blob);
1788: function SetCharSet ($charset);
1793: function IfNull ( $field, $ifNull );
1798: function LogSQL ($enable=true);
1811: function GetCharSet ();
1823: function UpdateClob ($table,$column,$val,$where);
1833: function SetDateLocale ($locale = 'En');
1872: function Close ();
1884: function BeginTrans ();
1894: function CommitTrans ($ok=true);
1903: function RollbackTrans ();
1913: function MetaDatabases ();
1943: function &MetaTables ($ttype=false,$showSchema=false,$mask=false);
1987: function _findschema (&$table,&$schema);
2005: function &MetaColumns ($table,$upper=true);
2064: function &MetaIndexes ($table, $primary = false, $owner = false);
2076: function &MetaColumnNames ($table, $numIndexes=false);
2103: function Concat ();
2117: function DBDate ($d);
2138: function DBTimeStamp ($ts);
2159: function UnixDate ($v);
2183: function UnixTimeStamp ($v);
2213: function UserDate ($v,$fmt='Y-m-d',$gmt=false);
2234: function UserTimeStamp ($v,$fmt='Y-m-d H:i:s',$gmt=false);
2248: function addq ($s,$magic_quotes=false);
2282: function qstr ($s,$magic_quotes=false);
2323: function &PageExecute ($sql, $nrows, $page, $inputarr=false, $secs2cache=0);
2345: function &CachePageExecute ($secs2cache, $sql, $nrows, $page,$inputarr=false);
2362: class ADOFetchObj;
2372: class ADORecordSet_empty;
2386: function RowCount ();
2387: function RecordCount ();
2388: function PO_RecordCount ();
1872: function Close ();
2390: function FetchRow ();
2391: function FieldCount ();
2392: function Init ();
2412: class ADORecordSet extends ADODB_BASE_RS;
2457: function ADORecordSet ($queryID);
2392: function Init ();
2505: function GetMenu ($name,$defstr='',$blank1stItem=true,$multiple=false, $size=0, $selectAttr='',$compareFields0=true);
2521: function GetMenu2 ($name,$defstr='',$blank1stItem=true,$multiple=false,$size=0, $selectAttr='');
1338: function &GetArray ($nRows = -1);
1209: function &GetAll ($nRows = -1);
2561: function NextRecordSet ();
2575: function &GetArrayLimit ($nrows,$offset=-1);
2602: function &GetRows ($nRows = -1);
1215: function &GetAssoc ($force_array = false, $first2cols = false);
2234: function UserTimeStamp ($v,$fmt='Y-m-d H:i:s');
2213: function UserDate ($v,$fmt='Y-m-d');
2159: function UnixDate ($v);
2183: function UnixTimeStamp ($v);
2763: function Free ();
2772: function NumRows ();
2781: function NumCols ();
2792: function &FetchRow ();
2811: function FetchInto (&$arr);
2825: function MoveFirst ();
2837: function MoveLast ();
2856: function MoveNext ();
2825: function Move ($rowNumber = 0);
2932: function Fields ($colname);
2937: function GetAssocKeys ($upper=true);
2956: function &GetRowAssoc ($upper=1);
1872: function Close ();
2387: function RecordCount ();
3002: function MaxRecordCount ();
2386: function RowCount ();
2388: function PO_RecordCount ($table="", $condition="");
3040: function CurrentRow ();
3047: function AbsolutePosition ();
2391: function FieldCount ();
3063: function &FetchField ($fieldoffset);
3072: function FieldTypesArray ();
3086: function &FetchObj ();
3100: function &FetchObject ($isupper=true);
3133: function &FetchNextObj ();
3151: function &FetchNextObject ($isupper=true);
3187: function MetaType ($t,$len=-1,$fieldobj=false);
3322: function _close ();
3327: function AbsolutePage ($page=-1);
3336: function AtFirstPage ($status=false);
3342: function LastPageNo ($page = false);
3351: function AtLastPage ($status=false);
3370: class ADORecordSet_array extends ADORecordSet;
3388: function ADORecordSet_array ($fakeid=1);
3410: function InitArray ($array,$typearr,$colnames=false);
3431: function InitArrayFields (&$array,&$fieldarr);
1338: function &GetArray ($nRows=-1);
3451: function _initrs ();
2932: function Fields ($colname);
3063: function &FetchField ($fieldOffset = -1);
3492: function _seek ($row);
2856: function MoveNext ();
3523: function _fetch ();
3322: function _close ();
3552: function ADOLoadDB ($dbType);
3560: function ADOLoadCode ($dbType);
3595: function &NewADOConnection ($db='');
3609: function &ADONewConnection ($db='');
3725: function _adodb_getdriver ($provider,$drivername,$perf=false);
3748: function &NewPerfMonitor (&$conn);
3762: function &NewDataDictionary (&$conn,$drivername=false);
3793: function adodb_pr ($var,$as_string=false);
3815: function adodb_backtrace ($printOrArr=true,$levels=9999);
datadict/
datadict-access.inc.php -
7 functions/classes, 95 lines, 2098 bytes
15: class ADODB2_access extends ADODB_DataDict;
21: function ActualType ($meta);
51: function _CreateSuffix ($fname, &$ftype, $fnotnull,$fdefault,$fautoinc,$fconstraint);
68: function CreateDatabase ($dbname,$options=false);
74: function SetSchema ($schema);
78: function AlterColumnSQL ($tabname, $flds);
85: function DropColumnSQL ($tabname, $flds);
datadict-db2.inc.php -
5 functions/classes, 76 lines, 1886 bytes
14: class ADODB2_db2 extends ADODB_DataDict;
19: function ActualType ($meta);
49: function _CreateSuffix ($fname,$ftype,$fnotnull,$fdefault,$fautoinc,$fconstraint);
59: function AlterColumnSQL ($tabname, $flds);
66: function DropColumnSQL ($tabname, $flds);
datadict-firebird.inc.php -
7 functions/classes, 151 lines, 3941 bytes
12: class ADODB2_firebird15 extends ADODB_DataDict;
19: function ActualType ($meta);
48: function NameQuote ($name = NULL);
75: function