XOOPS  2.6.0
XoopsMySQLDatabaseSafe Class Reference
Inheritance diagram for XoopsMySQLDatabaseSafe:
Inheritance graph

Public Member Functions

 query ($sql, $limit=0, $start=0)
 
- Public Member Functions inherited from XoopsMySQLDatabase
 close ()
 
 connect ($selectdb=true)
 
 errno ()
 
 error ()
 
 escape ($string)
 
 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
 close ()
 
 connect ($selectdb=true)
 
 errno ()
 
 error ()
 
 escape ($string)
 
 fetchArray ($result)
 
 fetchBoth ($result)
 
 fetchObject ($result)
 
 fetchRow ($result)
 
 freeRecordSet ($result)
 
 genId ($sequence)
 
 getAffectedRows ()
 
 getFieldName ($result, $offset)
 
 getFieldsNum ($result)
 
 getFieldType ($result, $offset)
 
 getInsertId ()
 
 getRowsNum ($result)
 
 prefix ($tablename= '')
 
 query ($sql, $limit=0, $start=0)
 
 queryF ($sql, $limit=0, $start=0)
 
 queryFromFile ($file)
 
 quote ($string)
 
 quoteString ($str)
 
 setPrefix ($value)
 

Additional Inherited Members

- Public Attributes inherited from XoopsMySQLDatabase
 $conn
 
- Public Attributes inherited from XoopsDatabase
 $allowWebChanges = false
 
 $conn
 
 $prefix = ''
 
- Protected Member Functions inherited from XoopsMySQLDatabase
 deprecated ()
 

Detailed Description

Definition at line 30 of file mysqldatabasesafe.php.

Member Function Documentation

XoopsMySQLDatabaseSafe::query (   $sql,
  $limit = 0,
  $start = 0 
)

perform a query on the database

Parameters
string$sqla valid MySQL query
int$limitnumber of records to return
int$startoffset of first record to return
Returns
resource query result or FALSE if successful or TRUE if successful and no result
Deprecated:
since version 2.6.0 - alpha 3. Switch to doctrine connector.

Definition at line 43 of file mysqldatabasesafe.php.

References $limit, $sql, $start, XoopsMySQLDatabase\deprecated(), and XoopsMySQLDatabase\queryF().

Here is the call graph for this function:


The documentation for this class was generated from the following file: