API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
query ($sql, $limit=0, $start=0) | |
Public Member Functions inherited from XoopsMySQLDatabase | |
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) | |
Public Member Functions inherited from XoopsDatabase | |
__construct () | |
setLogger (XoopsLogger $logger) | |
setPrefix ($value) | |
prefix ($tablename='') | |
isResultSet ($result) | |
Additional Inherited Members | |
Data Fields inherited from XoopsMySQLDatabase | |
$conn | |
Data Fields inherited from XoopsDatabase | |
$prefix = '' | |
$logger | |
$allowWebChanges = false | |
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 |
Reimplemented from XoopsMySQLDatabase.
Reimplemented in ProtectorMySQLDatabase.