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. | |
Private Attributes | |
| $freed = false | |
| Whether the result set has been freed. | |
Definition at line 161 of file backend-mysql-old.lib.php.
| AnewtDatabaseResultSetMySQLOld::__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 172 of file backend-mysql-old.lib.php.
| AnewtDatabaseResultSetMySQLOld::fetch_one | ( | ) |
Return the next row.
Reimplemented from AnewtDatabaseResultSet.
Definition at line 184 of file backend-mysql-old.lib.php.
| AnewtDatabaseResultSetMySQLOld::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 204 of file backend-mysql-old.lib.php.
| AnewtDatabaseResultSetMySQLOld::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 216 of file backend-mysql-old.lib.php.
| AnewtDatabaseResultSetMySQLOld::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 226 of file backend-mysql-old.lib.php.
1.5.9