EllisLab/CodeIgniter — pull request #3164 by julienmru (2014-07-31 14:48:17+00:00)
Title: Pagination class: Retrieving LIMIT variables

I needed an easy way to calculate LIMIT offset and row count as need by ActiveRecord.

Here are two new functions (get_limit_offset and get_limit_count) integrated into the pagination library which return this informations.