|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Functions | |
| adodb_strip_order_by ($sql) | |
| if(false) | adodb_probetypes (&$array, &$types, $probe=8) |
| adodb_transpose (&$arr, &$newarr, &$hdr, &$fobjs) | |
| _array_change_key_case ($an_array) | |
| _adodb_replace (&$zthis, $table, $fieldArray, $keyCol, $autoQuote, $has_autoinc) | |
| _adodb_getmenu (&$zthis, $name, $defstr='', $blank1stItem=true, $multiple=false, $size=0, $selectAttr='', $compareFields0=true) | |
| _adodb_getmenu_gp (&$zthis, $name, $defstr='', $blank1stItem=true, $multiple=false, $size=0, $selectAttr='', $compareFields0=true) | |
| _adodb_getcount (&$zthis, $sql, $inputarr=false, $secs2cache=0) | |
| _adodb_pageexecute_all_rows (&$zthis, $sql, $nrows, $page, $inputarr=false, $secs2cache=0) | |
| _adodb_pageexecute_no_last_page (&$zthis, $sql, $nrows, $page, $inputarr=false, $secs2cache=0) | |
| _adodb_getupdatesql (&$zthis, &$rs, $arrFields, $forceUpdate=false, $magicq=false, $force=2) | |
| adodb_key_exists ($key, &$arr, $force=2) | |
| _adodb_getinsertsql (&$zthis, &$rs, $arrFields, $magicq=false, $force=2) | |
| _adodb_column_sql_oci8 (&$zthis, $action, $type, $fname, $fnameq, $arrFields, $magicq) | |
| _adodb_column_sql (&$zthis, $action, $type, $fname, $fnameq, $arrFields, $magicq, $recurse=true) | |
| _adodb_debug_execute (&$zthis, $sql, $inputarr) | |
| _adodb_backtrace ($printOrArr=true, $levels=9999, $skippy=0, $ishtml=null) | |
Variables | |
| global | $ADODB_INCLUDED_LIB = 1 |
| _adodb_backtrace | ( | $ | printOrArr = true, |
| $ | levels = 9999, |
||
| $ | skippy = 0, |
||
| $ | ishtml = null |
||
| ) |
| _adodb_column_sql | ( | &$ | zthis, |
| $ | action, | ||
| $ | type, | ||
| $ | fname, | ||
| $ | fnameq, | ||
| $ | arrFields, | ||
| $ | magicq, | ||
| $ | recurse = true |
||
| ) |
Definition at line 991 of file adodb-lib.inc.php.


| _adodb_column_sql_oci8 | ( | &$ | zthis, |
| $ | action, | ||
| $ | type, | ||
| $ | fname, | ||
| $ | fnameq, | ||
| $ | arrFields, | ||
| $ | magicq | ||
| ) |
This private method is used to help construct the update/sql which is generated by GetInsertSQL and GetUpdateSQL. It handles the string construction of 1 column -> sql string based on the column type. We want to do 'safe' handling of BLOBs
| string | the type of sql we are trying to create 'I' or 'U'. |
| string | column data type from the db::MetaType() method |
| string | the column name |
| array | the column value |
Definition at line 924 of file adodb-lib.inc.php.


| _adodb_debug_execute | ( | &$ | zthis, |
| $ | sql, | ||
| $ | inputarr | ||
| ) |
| _adodb_getcount | ( | &$ | zthis, |
| $ | sql, | ||
| $ | inputarr = false, |
||
| $ | secs2cache = 0 |
||
| ) |
Definition at line 397 of file adodb-lib.inc.php.


| _adodb_getinsertsql | ( | &$ | zthis, |
| &$ | rs, | ||
| $ | arrFields, | ||
| $ | magicq = false, |
||
| $ | force = 2 |
||
| ) |
There is a special case of this function for the oci8 driver. The proper way to handle an insert w/ a blob in oracle requires a returning clause with bind variables and a descriptor blob.
Definition at line 763 of file adodb-lib.inc.php.

| _adodb_getmenu | ( | &$ | zthis, |
| $ | name, | ||
| $ | defstr = '', |
||
| $ | blank1stItem = true, |
||
| $ | multiple = false, |
||
| $ | size = 0, |
||
| $ | selectAttr = '', |
||
| $ | compareFields0 = true |
||
| ) |
Definition at line 213 of file adodb-lib.inc.php.
| _adodb_getmenu_gp | ( | &$ | zthis, |
| $ | name, | ||
| $ | defstr = '', |
||
| $ | blank1stItem = true, |
||
| $ | multiple = false, |
||
| $ | size = 0, |
||
| $ | selectAttr = '', |
||
| $ | compareFields0 = true |
||
| ) |
Definition at line 299 of file adodb-lib.inc.php.
| _adodb_getupdatesql | ( | &$ | zthis, |
| &$ | rs, | ||
| $ | arrFields, | ||
| $ | forceUpdate = false, |
||
| $ | magicq = false, |
||
| $ | force = 2 |
||
| ) |
| _adodb_pageexecute_all_rows | ( | &$ | zthis, |
| $ | sql, | ||
| $ | nrows, | ||
| $ | page, | ||
| $ | inputarr = false, |
||
| $ | secs2cache = 0 |
||
| ) |
| _adodb_pageexecute_no_last_page | ( | &$ | zthis, |
| $ | sql, | ||
| $ | nrows, | ||
| $ | page, | ||
| $ | inputarr = false, |
||
| $ | secs2cache = 0 |
||
| ) |
Definition at line 546 of file adodb-lib.inc.php.
| _adodb_replace | ( | &$ | zthis, |
| $ | table, | ||
| $ | fieldArray, | ||
| $ | keyCol, | ||
| $ | autoQuote, | ||
| $ | has_autoinc | ||
| ) |
is_numeric($v) /*and strncmp($v,"'",1) !== 0 -- sql injection risk
Definition at line 133 of file adodb-lib.inc.php.
| _array_change_key_case | ( | $ | an_array | ) |
| adodb_key_exists | ( | $ | key, |
| &$ | arr, | ||
| $ | force = 2 |
||
| ) |
| if (false) adodb_probetypes | ( | &$ | array, |
| &$ | types, | ||
| $ | probe = 8 |
||
| ) |
Definition at line 48 of file adodb-lib.inc.php.
| adodb_strip_order_by | ( | $ | sql | ) |
| adodb_transpose | ( | &$ | arr, |
| &$ | newarr, | ||
| &$ | hdr, | ||
| &$ | fobjs | ||
| ) |
Definition at line 91 of file adodb-lib.inc.php.
| $ADODB_INCLUDED_LIB = 1 |
Definition at line 5 of file adodb-lib.inc.php.