XOOPS 2.5.6
Final
|
Public Member Functions | |
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 () | |
Additional Inherited Members | |
Public Attributes inherited from XoopsMySQLDatabase | |
$conn | |
Definition at line 381 of file mysqldatabase.php.
XoopsMySQLDatabaseProxy::query | ( | $sql, | |
$limit = 0 , |
|||
$start = 0 |
|||
) |
perform a query on the database
this method allows only SELECT queries for safety.
string | $sql | a valid MySQL query |
int | $limit | number of records to return |
int | $start | offset of first record to return |
Definition at line 393 of file mysqldatabase.php.
References $limit, $sql, $start, and XoopsMySQLDatabase\queryF().