summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authoryaoshanliang <1329517386@qq.com>2015-03-16 09:48:15 +0100
committeryaoshanliang <1329517386@qq.com>2015-03-16 09:48:15 +0100
commit2f164058e3ffa429747e27b284f67f2e71809f52 (patch)
tree4680af17b7c7dfaa68bbf61586e3ee5a1dd7a454 /system/database
parent787dc9de5f7bae54817e252edee1bfcc7b271571 (diff)
update documentation in database/query_builder.rst, change 2 tabs + 4 spaces to 3 tabs.
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_query_builder.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php
index facaf0e4c..e5ffef2bb 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -1353,7 +1353,7 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
* returned by an Query Builder query.
*
* @param string
- * @param bool TRUE: resets QB values; FALSE: leave QB vaules alone
+ * @param bool the reset clause
* @return int
*/
public function count_all_results($table = '', $reset = TRUE)
@@ -1368,9 +1368,9 @@ abstract class CI_DB_query_builder extends CI_DB_driver {
? $this->query($this->_count_string.$this->protect_identifiers('numrows')."\nFROM (\n".$this->_compile_select()."\n) CI_count_all_results")
: $this->query($this->_compile_select($this->_count_string.$this->protect_identifiers('numrows')));
- if($reset === TRUE)
+ if ($reset === TRUE)
{
- $this->_reset_select();
+ $this->_reset_select();
}
if ($result->num_rows() === 0)