diff options
| author | Damien Regad <dregad@mantisbt.org> | 2024-08-25 11:57:39 +0200 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2024-08-25 11:57:39 +0200 |
| commit | c918c31f390a9082b656698b6a9db9891279e3d3 (patch) | |
| tree | ed39a65c5621482535b47c36e774ca55e7c40180 /adodb-lib.inc.php | |
| parent | 8cdcfead44d4bd90596631ecfb206e94c6595d3f (diff) | |
| download | adodb-c918c31f390a9082b656698b6a9db9891279e3d3.tar.gz adodb-c918c31f390a9082b656698b6a9db9891279e3d3.tar.bz2 adodb-c918c31f390a9082b656698b6a9db9891279e3d3.zip | |
PHPDoc
Diffstat (limited to 'adodb-lib.inc.php')
| -rw-r--r-- | adodb-lib.inc.php | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/adodb-lib.inc.php b/adodb-lib.inc.php index ceb7c2af..0cc494ab 100644 --- a/adodb-lib.inc.php +++ b/adodb-lib.inc.php @@ -376,18 +376,23 @@ function _adodb_getmenu_option($defstr, $compare, $value, $display) return "\n<option $value$selected>" . htmlspecialchars($display) . '</option>'; } -/* - Count the number of records this sql statement will return by using - query rewriting heuristics... - - Does not work with UNIONs, except with postgresql and oracle. - - Usage: - - $conn->Connect(...); - $cnt = _adodb_getcount($conn, $sql); - -*/ +/** + * Count the number of records this sql statement will return by using + * query rewriting heuristics... + * + * Does not work with UNIONs, except with postgresql and oracle. + * + * Usage: + * $conn->Connect(...); + * $cnt = _adodb_getcount($conn, $sql); + * + * @param ADOConnection $zthis + * @param string $sql + * @param bool $inputarr + * @param int $secs2cache + * + * @return false|int|mixed + */ function _adodb_getcount($zthis, $sql,$inputarr=false,$secs2cache=0) { $qryRecs = 0; |
