Returns current row.
Returns current row.
Returns object of class which handle single row representation. Object is initialised with ID of current position in result cursor.
API Tags:
| Return: | Current row. |
| Access: | public |
Information Tags:
| Version: | 0.1.5 |
| Since: | 0.1.5 |
Redefinition of:
- OTS_Base_List::current()
- Returns current row.
string getSQL(
[bool
$count = false]
)
|
|
Returns SQL query for SELECT.
Returns SQL query for SELECT.
Parameters:
|
bool |
$count: |
Shows if the SQL should be generated for COUNT() variant. |
API Tags:
| Return: | SQL query part. |
| Access: | protected |
Information Tags:
| Version: | 0.1.5 |
| Since: | 0.1.5 |
Redefinition of:
- OTS_Base_List::getSQL()
- Returns SQL query for SELECT.
Sets list parameters.
Sets list parameters.
This method is called at object creation.
API Tags:
Information Tags:
| Version: | 0.1.5 |
| Since: | 0.1.5 |
Redefinition of:
- OTS_Base_List::init()
- Sets list parameters.
Overwrites generic query.
Overwrites generic query.
API Tags:
Information Tags:
| Version: | 0.1.5 |
| Throws: | PDOException On PDO operation error. |
| Since: | 0.1.5 |
Redefinition of:
- OTS_Base_List::rewind()
- Select rows from database.