My Project
 All Data Structures Namespaces Functions Variables
Public Member Functions
CI_DB_sqlite_result Class Reference
Inheritance diagram for CI_DB_sqlite_result:
CI_DB_result

Public Member Functions

 num_rows ()
 
 num_fields ()
 
 list_fields ()
 
 field_data ()
 
 free_result ()
 
 _data_seek ($n=0)
 
 _fetch_assoc ()
 
 _fetch_object ()
 
- 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 ()
 

Additional Inherited Members

- 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 inherited from CI_DB_result
 _data_seek ()
 
 _fetch_assoc ()
 
 _fetch_object ()
 

Member Function Documentation

_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

Returns
array
_fetch_assoc ( )

Result - associative array

Returns the result set as an array

private

Returns
array
_fetch_object ( )

Result - object

Returns the result set as an object

private

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

public

Returns
integer

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