|
| | getRow ($query, $bindings=[], $arr_type=PDO::FETCH_ASSOC) |
| |
| | getOne ($query, $bindings=[]) |
| |
| | getColumn ($query, $bindings=[]) |
| |
| | getFirstRow ($query, $bindings=[], $arr_type=PDO::FETCH_ASSOC) |
| |
| | getNextRow () |
| |
| | getNumRows ($res=null) |
| |
| | getLastId () |
| |
| | query ($query, $bindings=[]) |
| |
| | getAll ($query, $bindings=[], $arr_type=PDO::FETCH_ASSOC) |
| |
| | escape ($s) |
| |
| | unescape ($s) |
| |
| | __construct () |
| |
| | log ($s) |
| |
| | displayError ($s) |
| |
| | getErrorPageXML ($s) |
| |
| | getLangs () |
| |
| | getLangsXml () |
| |
| | getUrlsXml () |
| |
| | addHeaderFooter (&$li, $content) |
| |
| | getPageXML ($first_load=1, &$p) |
| |
| | cacheWrite ($fn, $s) |
| |
| | cacheRead ($fn) |
| |
| | cacheExists ($fn) |
| |
| | cacheEnabled () |
| |
This work, "Cheetah - https://www.cheetahwsb.com", is a derivative of "Dolphin Pro V7.4.2" by BoonEx Pty Limited - https://www.boonex.com/, used under CC-BY. "Cheetah" is licensed under CC-BY by Dean J. Bassett Jr. CC-BY License - http://creativecommons.org/licenses/by/3.0/
Definition at line 10 of file ChDb.php.
◆ escape()
- Parameters
-
- Returns
- string
Definition at line 117 of file ChDb.php.
◆ getAll()
| ChDb::getAll |
( |
|
$query, |
|
|
|
$bindings = [], |
|
|
|
$arr_type = PDO::FETCH_ASSOC |
|
) |
| |
execute sql query and return table of records as result
- Parameters
-
| $query | |
| $bindings | |
| int | $arr_type | |
- Returns
- array
Definition at line 108 of file ChDb.php.
◆ getColumn()
| ChDb::getColumn |
( |
|
$query, |
|
|
|
$bindings = [] |
|
) |
| |
- Parameters
-
- Returns
- array
Definition at line 42 of file ChDb.php.
◆ getFirstRow()
| ChDb::getFirstRow |
( |
|
$query, |
|
|
|
$bindings = [], |
|
|
|
$arr_type = PDO::FETCH_ASSOC |
|
) |
| |
execute sql query and return the first row of result and keep $array type and poiter to all data
- Parameters
-
| string | $query | |
| array | $bindings | |
| int | $arr_type | |
- Returns
- array
Definition at line 56 of file ChDb.php.
◆ getLastId()
get last insert id
Definition at line 83 of file ChDb.php.
◆ getNextRow()
return next row of pointed last getFirstRow calling data
Definition at line 64 of file ChDb.php.
◆ getNumRows()
| ChDb::getNumRows |
( |
|
$res = null | ) |
|
return number of affected rows in current mysql result
- Parameters
-
- Returns
- int
Definition at line 75 of file ChDb.php.
◆ getOne()
| ChDb::getOne |
( |
|
$query, |
|
|
|
$bindings = [] |
|
) |
| |
execute sql query and return one value result
- Parameters
-
- Returns
- mixed
Definition at line 32 of file ChDb.php.
◆ getRow()
| ChDb::getRow |
( |
|
$query, |
|
|
|
$bindings = [], |
|
|
|
$arr_type = PDO::FETCH_ASSOC |
|
) |
| |
execute sql query and return one row result
- Parameters
-
| $query | |
| $bindings | |
| int | $arr_type | |
- Returns
- array
Definition at line 20 of file ChDb.php.
◆ query()
| ChDb::query |
( |
|
$query, |
|
|
|
$bindings = [] |
|
) |
| |
execute any query return number of rows affected/false
- Parameters
-
- Returns
- int
Definition at line 95 of file ChDb.php.
◆ unescape()
The documentation for this class was generated from the following file: