extends |
XoopsMySQLDatabase |
---|
Read-Only connection to a MySQL database.
This class allows only SELECT queries to be performed through its {@link query()} method for security reasons.
Methods | ||||||||
---|---|---|---|---|---|---|---|---|
public
|
query(string $sql, int $limit = 0, int $start = 0): mysqli_result|bool
perform a query on the database
perform a query on the database this method allows only SELECT queries for safety. Parameters
Returnsquery result or FALSE if successful or TRUE if successful and no result Overriden byImplements |
# |
Methods inherited from XoopsDatabase |
---|
__construct(), setLogger(), setPrefix(), prefix(), |
Properties inherited from XoopsMySQLDatabase |
---|
$conn |
Properties inherited from XoopsDatabase |
---|
$prefix, $logger, $allowWebChanges |