Public Member Functions | |
result ($type= 'object') | |
custom_result_object ($class_name) | |
result_object () | |
result_array () | |
row ($n=0, $type= 'object') | |
set_row ($key, $value=NULL) | |
custom_row_object ($n, $type) | |
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 Fields | |
$conn_id = NULL | |
$result_id = NULL | |
$result_array = array() | |
$result_object = array() | |
$custom_result_object = array() | |
$current_row = 0 | |
$num_rows = 0 | |
$row_data = NULL | |
Protected Member Functions | |
_data_seek () | |
_fetch_assoc () | |
_fetch_object () | |
custom_result_object | ( | $class_name) |
Custom query result.
class_name | A string that represents the type of object you want back |
custom_row_object | ( | $n, | |
$type | |||
) |
Returns a single result row - custom object version
public
first_row | ( | $type = 'object' ) |
Returns the "first" row
public
last_row | ( | $type = 'object' ) |
Returns the "last" row
public
next_row | ( | $type = 'object' ) |
Returns the "next" row
public
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.
previous_row | ( | $type = 'object' ) |
Returns the "previous" row
public
result | ( | $type = 'object' ) |
Query result. Acts as a wrapper function for the following functions.
public
string | can be "object" or "array" |
result_array | ( | ) |
Query result. "array" version.
public
result_object | ( | ) |
Query result. "object" version.
public
row | ( | $n = 0 , |
|
$type = 'object' |
|||
) |
Query result. Acts as a wrapper function for the following functions.
public
string | |
string | can be "object" or "array" |
row_array | ( | $n = 0 ) |
Returns a single result row - array version
public
row_object | ( | $n = 0 ) |
Returns a single result row - object version
public
set_row | ( | $key, | |
$value = NULL |
|||
) |
Assigns an item into a particular column slot
public