Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/adodb/adodb-lib.inc.php File Reference

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

Function Documentation

_adodb_backtrace ( printOrArr = true,
levels = 9999,
skippy = 0,
ishtml = null 
)

Definition at line 1112 of file adodb-lib.inc.php.

Here is the caller graph for this function:

_adodb_column_sql ( &$  zthis,
action,
type,
fname,
fnameq,
arrFields,
magicq,
recurse = true 
)

Definition at line 991 of file adodb-lib.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

_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

Parameters:
stringthe type of sql we are trying to create 'I' or 'U'.
stringcolumn data type from the db::MetaType() method
stringthe column name
arraythe column value
Returns:
string

Definition at line 924 of file adodb-lib.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

_adodb_debug_execute ( &$  zthis,
sql,
inputarr 
)

Definition at line 1046 of file adodb-lib.inc.php.

Here is the call graph for this function:

_adodb_getcount ( &$  zthis,
sql,
inputarr = false,
secs2cache = 0 
)

Definition at line 397 of file adodb-lib.inc.php.

Here is the call graph for this function:

Here is the caller graph for this function:

_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.

Here is the call graph for this function:

_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 
)

Definition at line 596 of file adodb-lib.inc.php.

Here is the call graph for this function:

_adodb_pageexecute_all_rows ( &$  zthis,
sql,
nrows,
page,
inputarr = false,
secs2cache = 0 
)

Definition at line 492 of file adodb-lib.inc.php.

Here is the call graph for this function:

_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)

Definition at line 120 of file adodb-lib.inc.php.

Here is the caller graph for this function:

adodb_key_exists ( key,
&$  arr,
force = 2 
)

Definition at line 743 of file adodb-lib.inc.php.

Here is the caller graph for this function:

if (false) adodb_probetypes ( &$  array,
&$  types,
probe = 8 
)

Definition at line 48 of file adodb-lib.inc.php.

Definition at line 18 of file adodb-lib.inc.php.

Here is the caller graph for this function:

adodb_transpose ( &$  arr,
&$  newarr,
&$  hdr,
&$  fobjs 
)

Definition at line 91 of file adodb-lib.inc.php.


Variable Documentation

$ADODB_INCLUDED_LIB = 1

Definition at line 5 of file adodb-lib.inc.php.

 All Data Structures Namespaces Files Functions Variables Enumerations