DBResultSetMysql Class Reference
[Model]
Result set for MySQL. More...
Public Member Functions |
|
__construct ($result_handle, $status) | |
__destruct () | |
close () | |
Closes internal cursor. |
|
fetch () | |
Returns row as associative array. |
|
get_column_count () | |
Returns number of columns in result set.
|
|
get_row_count () | |
Returns number of rows in result set.
|
|
get_status () | |
Returns status. |
|
Protected Attributes |
|
$result_handle = null | |
$status = null |
Detailed Description
Result set for MySQL.
Definition at line 8 of file dbresultset.mysql.php.
Constructor & Destructor Documentation
DBResultSetMysql::__construct | ( | $ | result_handle, | |
$ | status | |||
) |
Definition at line 22 of file dbresultset.mysql.php.
00022 { 00023 $this->result_handle = $result_handle; 00024 $this->status = $status; 00025 }
DBResultSetMysql::__destruct | ( | ) |
Definition at line 27 of file dbresultset.mysql.php.
00027 { 00028 $this->close(); 00029 }
Member Function Documentation
DBResultSetMysql::close | ( | ) |
Closes internal cursor.
- Returns:
- void
Implements IDBResultSet.
Definition at line 36 of file dbresultset.mysql.php.
DBResultSetMysql::fetch | ( | ) |
Returns row as associative array.
- Returns:
- array | bool False if no more data is available
Implements IDBResultSet.
Definition at line 72 of file dbresultset.mysql.php.
DBResultSetMysql::get_column_count | ( | ) |
Returns number of columns in result set.
- Returns:
- int
Implements IDBResultSet.
Definition at line 48 of file dbresultset.mysql.php.
DBResultSetMysql::get_row_count | ( | ) |
Returns number of rows in result set.
- Returns:
- int
Implements IDBResultSet.
Definition at line 60 of file dbresultset.mysql.php.
DBResultSetMysql::get_status | ( | ) |
Returns status.
- Parameters:
-
Status
Implements IDBResultSet.
Definition at line 84 of file dbresultset.mysql.php.
Member Data Documentation
DBResultSetMysql::$result_handle = null
[protected] |
Definition at line 14 of file dbresultset.mysql.php.
DBResultSetMysql::$status = null
[protected] |
Definition at line 20 of file dbresultset.mysql.php.
The documentation for this class was generated from the following file:
- gyro/core/model/drivers/mysql/dbresultset.mysql.php