summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source
diff options
context:
space:
mode:
authorJames L Parry <jim_parry@bcit.ca>2014-12-06 09:55:16 +0100
committerJames L Parry <jim_parry@bcit.ca>2014-12-06 09:55:16 +0100
commit2269947359d309fad381ce943c344efebab206c7 (patch)
treee93e5fc57c3f7e015f5599f212862ab660a34316 /user_guide_src/source
parent151621923b52c9392976de43e546f0349a604f06 (diff)
User Guide - generating query results
Added attributes to the class reference. Signed-off-by:James L Parry <jim_parry@bcit.ca>
Diffstat (limited to 'user_guide_src/source')
-rw-r--r--user_guide_src/source/database/results.rst32
1 files changed, 32 insertions, 0 deletions
diff --git a/user_guide_src/source/database/results.rst b/user_guide_src/source/database/results.rst
index eba04099c..33b19270e 100644
--- a/user_guide_src/source/database/results.rst
+++ b/user_guide_src/source/database/results.rst
@@ -250,6 +250,38 @@ Class Reference
.. class:: CI_DB_result
+ .. attribute:: $conn_id
+
+ Connection ID
+
+ .. attribute:: $result_id
+
+ Result ID
+
+ .. attribute:: $result_array = array()
+
+ Result Array
+
+ .. attribute:: $result_object = array()
+
+ Result Object
+
+ .. attribute:: $custom_result_object = array()
+
+ Custom Result Object
+
+ .. attribute:: $current_row = 0
+
+ Current Row index
+
+ .. attribute:: $num_rows
+
+ Number of rows
+
+ .. attribute:: $row_data
+
+ Row data
+
.. method:: custom_result_object($class_name)
:param string $class_name: Class name for the results