Public Member Functions | |
num_rows () | |
num_fields () | |
list_fields () | |
field_data () | |
free_result () | |
_data_seek ($n=0) | |
_fetch_assoc () | |
_fetch_object () | |
![]() | |
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 () | |
Additional Inherited Members | |
![]() | |
$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 | |
![]() | |
_data_seek () | |
_fetch_assoc () | |
_fetch_object () | |
_data_seek | ( | $n = 0 ) |
Data Seek
Moves the internal pointer to the desired offset. We call this internally before fetching results to make sure the result set starts at zero
private
_fetch_assoc | ( | ) |
Result - associative array
Returns the result set as an array
private
_fetch_object | ( | ) |
Result - object
Returns the result set as an object
private
field_data | ( | ) |
Field data
Generates an array of objects containing field meta-data
public
free_result | ( | ) |
Free the result
list_fields | ( | ) |
Fetch Field Names
Generates an array of column names
public
num_fields | ( | ) |
Number of fields in the result set
public
num_rows | ( | ) |
Number of rows in the result set
public