summaryrefslogtreecommitdiff
path: root/adodb-lib.inc.php
diff options
context:
space:
mode:
authorDamien Regad <dregad@mantisbt.org>2022-08-26 17:59:41 +0200
committerDamien Regad <dregad@mantisbt.org>2022-09-03 18:28:10 +0200
commit35751514339a5e172367f6d333e7d193fada9b00 (patch)
tree0eaaadce0445d7a8a98525a1016f4784d4b0eec5 /adodb-lib.inc.php
parent8e004ec246616a5ef5663b3de893431aff5029f7 (diff)
downloadadodb-35751514339a5e172367f6d333e7d193fada9b00.tar.gz
adodb-35751514339a5e172367f6d333e7d193fada9b00.tar.bz2
adodb-35751514339a5e172367f6d333e7d193fada9b00.zip
PHPDoc
Diffstat (limited to 'adodb-lib.inc.php')
-rw-r--r--adodb-lib.inc.php23
1 files changed, 12 insertions, 11 deletions
diff --git a/adodb-lib.inc.php b/adodb-lib.inc.php
index a3315c2f..2595d2eb 100644
--- a/adodb-lib.inc.php
+++ b/adodb-lib.inc.php
@@ -1153,13 +1153,13 @@ function _adodb_column_sql(&$zthis, $action, $type, $fname, $fnameq, $arrFields,
/**
-* Replaces standard _execute when debug is enabled
+* Replaces standard _execute when debug mode is enabled
*
-* @param obj $zthis An ADOConnection object
-* @param string $sql A string or array of SQL statements
-* @param string[]|null $inputarr An optional array of bind parameters
+* @param ADOConnection $zthis An ADOConnection object
+* @param string|string[] $sql A string or array of SQL statements
+* @param string[]|null $inputarr An optional array of bind parameters
*
-* @return handle|void A handle to the executed query
+* @return handle|void A handle to the executed query
*/
function _adodb_debug_execute($zthis, $sql, $inputarr)
{
@@ -1257,14 +1257,15 @@ function _adodb_debug_execute($zthis, $sql, $inputarr)
}
/**
- * pretty print the debug_backtrace function
+ * Pretty print the debug_backtrace function
*
- * @param string[]|bool $printOrArr Whether to print the result directly or return the result
- * @param int $maximumDepth The maximum depth of the array to traverse
- * @param int $elementsToIgnore The backtrace array indexes to ignore
- * @param null|bool $ishtml Are we in a CLI or CGI environment
+ * @param string[]|bool $printOrArr Whether to print the result directly or return the result
+ * @param int $maximumDepth The maximum depth of the array to traverse
+ * @param int $elementsToIgnore The backtrace array indexes to ignore
+ * @param null|bool $ishtml True if we are in a CGI environment, false for CLI,
+ * null to auto detect
*
- * @return void
+ * @return string Formatted backtrace
*/
function _adodb_backtrace($printOrArr=true, $maximumDepth=9999, $elementsToIgnore=0, $ishtml=null)
{