|
XOOPS 2.5.6
Final
|

Public Member Functions | |
| checkSql ($sql) | |
| injectionFound ($sql) | |
| ProtectorMySQLDatabase () | |
| & | query ($sql, $limit=0, $start=0) |
| separateStringsInSQL ($sql) | |
Public Member Functions inherited from XoopsMySQLDatabaseProxy | |
| query ($sql, $limit=0, $start=0) | |
Public Member Functions inherited from XoopsMySQLDatabase | |
| close () | |
| connect ($selectdb=TRUE) | |
| errno () | |
| error () | |
| fetchArray ($result) | |
| fetchBoth ($result) | |
| fetchObject ($result) | |
| fetchRow ($result) | |
| freeRecordSet ($result) | |
| genId ($sequence) | |
| getAffectedRows () | |
| getFieldName ($result, $offset) | |
| getFieldsNum ($result) | |
| getFieldType ($result, $offset) | |
| getInsertId () | |
| getRowsNum ($result) | |
| query ($sql, $limit=0, $start=0) | |
| queryF ($sql, $limit=0, $start=0) | |
| queryFromFile ($file) | |
| quote ($string) | |
| quoteString ($str) | |
Public Member Functions inherited from XoopsDatabase | |
| prefix ($tablename= '') | |
| setLogger (&$logger) | |
| setPrefix ($value) | |
| XoopsDatabase () | |
Public Attributes | |
| $doubtful_needles | |
| $doubtful_requests = array() | |
Definition at line 11 of file ProtectorMysqlDatabase.class.php.
| ProtectorMySQLDatabase::checkSql | ( | $sql | ) |
Definition at line 104 of file ProtectorMysqlDatabase.class.php.
References $sql, false, injectionFound(), separateStringsInSQL(), and true.
Referenced by query().


| ProtectorMySQLDatabase::injectionFound | ( | $sql | ) |
Definition at line 35 of file ProtectorMysqlDatabase.class.php.
References $protector, $sql, and Protector\getInstance().
Referenced by checkSql().


| ProtectorMySQLDatabase::ProtectorMySQLDatabase | ( | ) |
Definition at line 27 of file ProtectorMysqlDatabase.class.php.
References $protector, and Protector\getInstance().

| & ProtectorMySQLDatabase::query | ( | $sql, | |
$limit = 0, |
|||
$start = 0 |
|||
| ) |
Definition at line 150 of file ProtectorMysqlDatabase.class.php.
References $limit, $ret, $sql, $start, and checkSql().

| ProtectorMySQLDatabase::separateStringsInSQL | ( | $sql | ) |
Definition at line 46 of file ProtectorMysqlDatabase.class.php.
References $i, $j, $sql, false, and true.
Referenced by checkSql().

| ProtectorMySQLDatabase::$doubtful_needles |
Definition at line 15 of file ProtectorMysqlDatabase.class.php.
| ProtectorMySQLDatabase::$doubtful_requests = array() |
Definition at line 14 of file ProtectorMysqlDatabase.class.php.