diff options
author | kenjis <devnull@localhost> | 2011-04-22 12:58:43 +0200 |
---|---|---|
committer | kenjis <devnull@localhost> | 2011-04-22 12:58:43 +0200 |
commit | c0b133c02e057b6506726b794ba4582bf18ed663 (patch) | |
tree | 5cd0107994bb42e380065b7ac76260cfb31b97b0 /user_guide | |
parent | 27aa2cd5e1f4107a0b00cdc650bfe9a2e1eeffeb (diff) |
default value of $total_rows in Pagination class should be number. And fix User Guide Pagination Class's Example which uses string to number variable.
Diffstat (limited to 'user_guide')
-rw-r--r-- | user_guide/libraries/pagination.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/libraries/pagination.html b/user_guide/libraries/pagination.html index e86ec13cc..3c366a69f 100644 --- a/user_guide/libraries/pagination.html +++ b/user_guide/libraries/pagination.html @@ -71,8 +71,8 @@ Pagination Class <code> $this->load->library('pagination');<br /><br /> $config['base_url'] = 'http://example.com/index.php/test/page/';<br /> -$config['total_rows'] = '200';<br /> -$config['per_page'] = '20'; +$config['total_rows'] = 200;<br /> +$config['per_page'] = 20; <br /><br /> $this->pagination->initialize($config); |