Public Member Functions | |
| __construct ($sql, $connection_handle, $result_set_handle) | |
| Construct a new AnewtDatabaseResultSet instance (internal use). | |
| fetch_one () | |
| Return the next row. | |
| free () | |
| Free resources associated with this result set. | |
Protected Member Functions | |
| obtain_field_types () | |
| Deduce the data types in this result set. | |
| cast_row (&$row) | |
| Cast a row of data into native PHP data types. | |
Definition at line 174 of file backend-mysql.lib.php.
| AnewtDatabaseResultSetMySQL::__construct | ( | $ | sql, | |
| $ | connection_handle, | |||
| $ | result_set_handle | |||
| ) |
Construct a new AnewtDatabaseResultSet instance (internal use).
Do not call this method directly; it is for internal use only.
(Note to backend implementors: you should override this constructor, call into the parent, and then store the n_rows and n_rows_affected values)
| $sql | The SQL query for this result set | |
| $connection_handle | The internal connection handle | |
| $result_set_handle | The internal result set handle |
Reimplemented from AnewtDatabaseResultSet.
Definition at line 180 of file backend-mysql.lib.php.
| AnewtDatabaseResultSetMySQL::fetch_one | ( | ) |
Return the next row.
Reimplemented from AnewtDatabaseResultSet.
Definition at line 192 of file backend-mysql.lib.php.
| AnewtDatabaseResultSetMySQL::free | ( | ) |
Free resources associated with this result set.
You cannot use any methods on the result set instance anymore after calling this method.
Reimplemented from AnewtDatabaseResultSet.
Definition at line 211 of file backend-mysql.lib.php.
| AnewtDatabaseResultSetMySQL::obtain_field_types | ( | ) | [protected] |
Deduce the data types in this result set.
This method should be implemented in backends to perform automatic type conversion.
Reimplemented from AnewtDatabaseResultSet.
Definition at line 222 of file backend-mysql.lib.php.
| AnewtDatabaseResultSetMySQL::cast_row | ( | &$ | row | ) | [protected] |
Cast a row of data into native PHP data types.
This method should be implemented in backends to perform automatic type conversion.
Note that the array is modified in-place (and no result is returned).
| $row | A row of data. |
Reimplemented from AnewtDatabaseResultSet.
Definition at line 230 of file backend-mysql.lib.php.
1.5.9