XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsMySQLDatabaseProxy Class Reference
Inheritance diagram for XoopsMySQLDatabaseProxy:
Inheritance graph

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
 

Detailed Description

Definition at line 381 of file mysqldatabase.php.

Member Function Documentation

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

perform a query on the database

this method allows only SELECT queries for safety.

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 unsuccessful

Definition at line 393 of file mysqldatabase.php.

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

Here is the call graph for this function:


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