EllisLab/CodeIgniter — pull request #2745 by qzfzz (2013-11-29 01:20:46+00:00)
Title: Improvement for manual pagination(DB_result.php)

Hi ! CI Project manager.

Thanks for this wonderful framework.

During my two month's development, I use manual pagination a lot. But I found CI does't have a wonderful manual pagination operation, so I made some changes to impove manual pagination's performance.

Four functions have been changed:
- public function result($type = 'object')

+ public function result($type = 'object', $iStart = 0, $iCount = null )

- public function custom_result_object($class_name)

+ public function custom_result_object($class_name, $iStart = 0, $iCount = null )

- public function result_object()

+ public function result_object( $iStart = 0, $iCount = null )

- public function result_array()

+ public function result_array( $iStart = 0, $iCount = null )