Public Member Functions | |
| result ($type= 'object') | |
| result_object () | |
| result_array () | |
| row ($n=0, $type= 'object') | |
| set_row ($key, $value=NULL) | |
| row_object ($n=0) | |
| row_array ($n=0) | |
| first_row ($type= 'object') | |
| last_row ($type= 'object') | |
| next_row ($type= 'object') | |
| previous_row ($type= 'object') | |
| num_rows () | |
| num_fields () | |
| list_fields () | |
| field_data () | |
| free_result () | |
| _data_seek () | |
| _fetch_assoc () | |
| _fetch_object () | |
Public Attributes | |
| $conn_id = NULL | |
| $result_id = NULL | |
| $result_array = array() | |
| $result_object = array() | |
| $current_row = 0 | |
| $num_rows = 0 | |
| $row_data = NULL | |
| CI_DB_result::_data_seek | ( | ) |
| CI_DB_result::_fetch_assoc | ( | ) |
Reimplemented in CI_DB_mssql_result, CI_DB_mysql_result, CI_DB_mysqli_result, CI_DB_odbc_result, CI_DB_postgre_result, and CI_DB_sqlite_result.
| CI_DB_result::_fetch_object | ( | ) |
Reimplemented in CI_DB_mssql_result, CI_DB_mysql_result, CI_DB_mysqli_result, CI_DB_oci8_result, CI_DB_odbc_result, CI_DB_postgre_result, and CI_DB_sqlite_result.
| CI_DB_result::field_data | ( | ) |
Reimplemented in CI_DB_mssql_result, CI_DB_mysql_result, CI_DB_mysqli_result, CI_DB_oci8_result, CI_DB_odbc_result, CI_DB_postgre_result, and CI_DB_sqlite_result.
| CI_DB_result::first_row | ( | $ | type = 'object' |
) |
Returns the "first" row
public
| CI_DB_result::free_result | ( | ) |
Reimplemented in CI_DB_mssql_result, CI_DB_mysql_result, CI_DB_mysqli_result, CI_DB_oci8_result, CI_DB_odbc_result, CI_DB_postgre_result, and CI_DB_sqlite_result.
| CI_DB_result::last_row | ( | $ | type = 'object' |
) |
Returns the "last" row
public
| CI_DB_result::list_fields | ( | ) |
Reimplemented in CI_DB_mssql_result, CI_DB_mysql_result, CI_DB_mysqli_result, CI_DB_oci8_result, CI_DB_odbc_result, CI_DB_postgre_result, and CI_DB_sqlite_result.
| CI_DB_result::next_row | ( | $ | type = 'object' |
) |
Returns the "next" row
public
| CI_DB_result::num_fields | ( | ) |
Reimplemented in CI_DB_mssql_result, CI_DB_mysql_result, CI_DB_mysqli_result, CI_DB_oci8_result, CI_DB_odbc_result, CI_DB_postgre_result, and CI_DB_sqlite_result.
| CI_DB_result::num_rows | ( | ) |
The following functions are normally overloaded by the identically named methods in the platform-specific driver -- except when query caching is used. When caching is enabled we do not load the other driver. These functions are primarily here to prevent undefined function errors when a cached result object is in use. They are not otherwise fully operational due to the unavailability of the database resource IDs with cached results.
Reimplemented in CI_DB_mssql_result, CI_DB_mysql_result, CI_DB_mysqli_result, CI_DB_oci8_result, CI_DB_odbc_result, CI_DB_postgre_result, and CI_DB_sqlite_result.
| CI_DB_result::previous_row | ( | $ | type = 'object' |
) |
Returns the "previous" row
public
| CI_DB_result::result | ( | $ | type = 'object' |
) |
Query result. Acts as a wrapper function for the following functions.
public
| string | can be "object" or "array" |
| CI_DB_result::result_array | ( | ) |
| CI_DB_result::result_object | ( | ) |
Query result. "object" version.
public
| CI_DB_result::row | ( | $ | n = 0, |
|
| $ | type = 'object' | |||
| ) |
Query result. Acts as a wrapper function for the following functions.
public
| string | ||
| string | can be "object" or "array" |
| CI_DB_result::row_array | ( | $ | n = 0 |
) |
Returns a single result row - array version
public
| CI_DB_result::row_object | ( | $ | n = 0 |
) |
Returns a single result row - object version
public
| CI_DB_result::set_row | ( | $ | key, | |
| $ | value = NULL | |||
| ) |
Assigns an item into a particular column slot
public
| CI_DB_result::$conn_id = NULL |
| CI_DB_result::$current_row = 0 |
| CI_DB_result::$num_rows = 0 |
| CI_DB_result::$result_array = array() |
| CI_DB_result::$result_id = NULL |
| CI_DB_result::$result_object = array() |
| CI_DB_result::$row_data = NULL |
1.5.7.1