My Project
 All Data Structures Namespaces Functions Variables
Public Member Functions | Data Fields | Protected Member Functions
CI_DB_oci8_result Class Reference
Inheritance diagram for CI_DB_oci8_result:
CI_DB_result

Public Member Functions

 num_rows ()
 
 num_fields ()
 
 list_fields ()
 
 field_data ()
 
 free_result ()
 
 result_array ()
 
- Public Member Functions inherited from CI_DB_result
 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
 
- Data Fields inherited from CI_DB_result
 $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)
 
- Protected Member Functions inherited from CI_DB_result
 _data_seek ()
 
 _fetch_assoc ()
 
 _fetch_object ()
 

Member Function Documentation

_data_seek (   $n = 0)
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

Returns
array
_fetch_assoc ( )
protected

Result - associative array

Returns the result set as an array

protected

Returns
array
_fetch_object ( )
protected

Result - object

Returns the result set as an object

protected

Returns
object
field_data ( )

Field data

Generates an array of objects containing field meta-data

public

Returns
array
free_result ( )

Free the result

Returns
null
list_fields ( )

Fetch Field Names

Generates an array of column names

public

Returns
array
num_fields ( )

Number of fields in the result set

public

Returns
integer
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.

Returns
integer
result_array ( )

Query result. "array" version.

public

Returns
array

The documentation for this class was generated from the following file: