TYPO3 CMS
TYPO3_6-2
|
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 |
|||
) |
Definition at line 1111 of file adodb-lib.inc.php.
Referenced by _adodb_debug_execute().
_adodb_column_sql | ( | & | $zthis, |
$action, | |||
$type, | |||
$fname, | |||
$fnameq, | |||
$arrFields, | |||
$magicq, | |||
$recurse = true |
|||
) |
Definition at line 990 of file adodb-lib.inc.php.
References _adodb_column_sql_oci8().
Referenced by _adodb_column_sql_oci8(), _adodb_getinsertsql(), and _adodb_getupdatesql().
_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 923 of file adodb-lib.inc.php.
References $sql, and _adodb_column_sql().
Referenced by _adodb_column_sql().
_adodb_debug_execute | ( | & | $zthis, |
$sql, | |||
$inputarr | |||
) |
Definition at line 1045 of file adodb-lib.inc.php.
References $sql, and _adodb_backtrace().
_adodb_getcount | ( | & | $zthis, |
$sql, | |||
$inputarr = false , |
|||
$secs2cache = 0 |
|||
) |
Definition at line 398 of file adodb-lib.inc.php.
References $sql, and adodb_strip_order_by().
Referenced by _adodb_pageexecute_all_rows().
_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 762 of file adodb-lib.inc.php.
References $rs, _adodb_column_sql(), _array_change_key_case(), and adodb_key_exists().
_adodb_getmenu | ( | & | $zthis, |
$name, | |||
$defstr = '' , |
|||
$blank1stItem = true , |
|||
$multiple = false , |
|||
$size = 0 , |
|||
$selectAttr = '' , |
|||
$compareFields0 = true |
|||
) |
Definition at line 214 of file adodb-lib.inc.php.
_adodb_getmenu_gp | ( | & | $zthis, |
$name, | |||
$defstr = '' , |
|||
$blank1stItem = true , |
|||
$multiple = false , |
|||
$size = 0 , |
|||
$selectAttr = '' , |
|||
$compareFields0 = true |
|||
) |
Definition at line 300 of file adodb-lib.inc.php.
_adodb_getupdatesql | ( | & | $zthis, |
& | $rs, | ||
$arrFields, | |||
$forceUpdate = false , |
|||
$magicq = false , |
|||
$force = 2 |
|||
) |
Definition at line 597 of file adodb-lib.inc.php.
References $rs, $sql, _adodb_column_sql(), _array_change_key_case(), and adodb_key_exists().
_adodb_pageexecute_all_rows | ( | & | $zthis, |
$sql, | |||
$nrows, | |||
$page, | |||
$inputarr = false , |
|||
$secs2cache = 0 |
|||
) |
Definition at line 493 of file adodb-lib.inc.php.
References $sql, and _adodb_getcount().
_adodb_pageexecute_no_last_page | ( | & | $zthis, |
$sql, | |||
$nrows, | |||
$page, | |||
$inputarr = false , |
|||
$secs2cache = 0 |
|||
) |
Definition at line 547 of file adodb-lib.inc.php.
References $sql.
_adodb_replace | ( | & | $zthis, |
$table, | |||
$fieldArray, | |||
$keyCol, | |||
$autoQuote, | |||
$has_autoinc | |||
) |
is_numeric($v) /*and strncmp($v,"'",1) !== 0 – sql injection risk
Definition at line 134 of file adodb-lib.inc.php.
References $rs.
_array_change_key_case | ( | $an_array | ) |
Definition at line 121 of file adodb-lib.inc.php.
Referenced by _adodb_getinsertsql(), _adodb_getupdatesql(), and ADODB_DataDict\_GenFields().
adodb_key_exists | ( | $key, | |
& | $arr, | ||
$force = 2 |
|||
) |
Definition at line 742 of file adodb-lib.inc.php.
Referenced by _adodb_getinsertsql(), and _adodb_getupdatesql().
if (false) adodb_probetypes | ( | & | $array, |
& | $types, | ||
$probe = 8 |
|||
) |
Definition at line 49 of file adodb-lib.inc.php.
adodb_strip_order_by | ( | $sql | ) |
Definition at line 18 of file adodb-lib.inc.php.
Referenced by _adodb_getcount().
adodb_transpose | ( | & | $arr, |
& | $newarr, | ||
& | $hdr, | ||
& | $fobjs | ||
) |
Definition at line 92 of file adodb-lib.inc.php.
$ADODB_INCLUDED_LIB = 1 |
Definition at line 5 of file adodb-lib.inc.php.