|
| | __construct () |
| |
| | injectionFound ($sql) |
| |
| | separateStringsInSQL ($sql) |
| |
| | checkSql ($sql) |
| |
| | query ($sql, $limit=0, $start=0) |
| |
| | query ($sql, $limit=0, $start=0) |
| |
| | connect ($selectdb=true) |
| |
| | genId ($sequence) |
| |
| | fetchRow ($result) |
| |
| | fetchArray ($result) |
| |
| | fetchBoth ($result) |
| |
| | fetchObject ($result) |
| |
| | getInsertId () |
| |
| | getRowsNum ($result) |
| |
| | getAffectedRows () |
| |
| | close () |
| |
| | freeRecordSet ($result) |
| |
| | error () |
| |
| | errno () |
| |
| | quoteString ($str) |
| |
| | quote ($string) |
| |
| | escape ($string) |
| |
| | queryF ($sql, $limit=0, $start=0) |
| |
| | query ($sql, $limit=0, $start=0) |
| |
| | queryFromFile ($file) |
| |
| | getFieldName ($result, $offset) |
| |
| | getFieldType ($result, $offset) |
| |
| | getFieldsNum ($result) |
| |
| | getServerVersion () |
| |
| | isResultSet ($result) |
| |
| | __construct () |
| |
| | setLogger (XoopsLogger $logger) |
| |
| | setPrefix ($value) |
| |
| | prefix ($tablename='') |
| |
| | isResultSet ($result) |
| |
◆ __construct()
◆ checkSql()
◆ injectionFound()
◆ query()
| query |
( |
|
$sql, |
|
|
|
$limit = 0, |
|
|
|
$start = 0 |
|
) |
| |
- Parameters
-
| string | $sql | |
| int | $limit | |
| int | $start | |
- Returns
- mysqli_result|bool query result or FALSE if successful or TRUE if successful and no result
Reimplemented from XoopsMySQLDatabaseProxy.
◆ separateStringsInSQL()
| separateStringsInSQL |
( |
|
$sql | ) |
|
◆ $doubtful_needles
Initial value:= array(
'concat',
'information_schema',
'select',
'union',
'/*',
'--',
'#')
◆ $doubtful_requests
| $doubtful_requests = array() |
The documentation for this class was generated from the following file: