[ci skip] DocBlocks for DB drivers' result classes
Partially fixes issue #1295.
diff --git a/system/database/drivers/oci8/oci8_result.php b/system/database/drivers/oci8/oci8_result.php
index 90c8523..7d5bf51 100644
--- a/system/database/drivers/oci8/oci8_result.php
+++ b/system/database/drivers/oci8/oci8_result.php
@@ -38,15 +38,40 @@
*/
class CI_DB_oci8_result extends CI_DB_result {
+ /**
+ * Statement ID
+ *
+ * @var resource
+ */
public $stmt_id;
- public $curs_id;
- public $limit_used;
- public $commit_mode;
/**
- * Constructor
+ * Cursor ID
*
- * @param object
+ * @var resource
+ */
+ public $curs_id;
+
+ /**
+ * Limit used flag
+ *
+ * @var bool
+ */
+ public $limit_used;
+
+ /**
+ * Commit mode flag
+ *
+ * @var int
+ */
+ public $commit_mode;
+
+ // --------------------------------------------------------------------
+
+ /**
+ * Class constructor
+ *
+ * @param object &$driver_object
* @return void
*/
public function __construct(&$driver_object)
@@ -168,7 +193,7 @@
*
* Returns the result set as an object
*
- * @param string
+ * @param string $class_name
* @return object
*/
protected function _fetch_object($class_name = 'stdClass')
@@ -212,9 +237,10 @@
* some point in the future, but it will only work for resetting the
* pointer to zero.
*
+ * @param int $n (ignored)
* @return bool
*/
- protected function _data_seek()
+ protected function _data_seek($n = 0)
{
/* The PHP manual says that if OCI_NO_AUTO_COMMIT mode
* is used, and oci_rollback() and/or oci_commit() are