Public Member Functions | |
num_rows () | |
num_fields () | |
list_fields () | |
field_data () | |
free_result () | |
result_array () | |
![]() | |
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 | |
$stmt_id | |
$curs_id | |
$limit_used | |
![]() | |
$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 | |
_fetch_assoc () | |
_fetch_object () | |
_data_seek ($n=0) | |
![]() | |
_data_seek () | |
_fetch_assoc () | |
_fetch_object () | |
|
protected |
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
protected
|
protected |
Result - associative array
Returns the result set as an array
protected
|
protected |
Result - object
Returns the result set as an object
protected
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.
Oracle doesn't have a graceful way to retun the number of rows so we have to use what amounts to a hack.
result_array | ( | ) |
Query result. "array" version.
public