diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-12-04 12:32:16 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-12-04 12:32:16 +0100 |
commit | 69edc4368d6c6588936b3b6c8bcb9d36626d363a (patch) | |
tree | 17ee7f48f713fd4d40d6299b8948f7c1fe436bfb /system/database/DB_result.php | |
parent | c07c4855f808a0b3c0aac7d8056f38161185a4c7 (diff) |
Rename DB_result _data_seek() to data_seek() and make it publicly available
(as requested in #2050)
Diffstat (limited to 'system/database/DB_result.php')
-rw-r--r-- | system/database/DB_result.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/system/database/DB_result.php b/system/database/DB_result.php index 9d19075ba..e1ef341a5 100644 --- a/system/database/DB_result.php +++ b/system/database/DB_result.php @@ -203,7 +203,7 @@ class CI_DB_result { return $this->custom_result_object[$class_name]; } - $this->_data_seek(0); + $this->data_seek(0); $this->custom_result_object[$class_name] = array(); while ($row = $this->_fetch_object($class_name)) @@ -246,7 +246,7 @@ class CI_DB_result { return $this->result_object; } - $this->_data_seek(0); + $this->data_seek(0); while ($row = $this->_fetch_object()) { $this->result_object[] = $row; @@ -287,7 +287,7 @@ class CI_DB_result { return $this->result_array; } - $this->_data_seek(0); + $this->data_seek(0); while ($row = $this->_fetch_assoc()) { $this->result_array[] = $row; @@ -617,7 +617,7 @@ class CI_DB_result { * @param int $n * @return bool */ - protected function _data_seek($n = 0) + public function data_seek($n = 0) { return FALSE; } |