Changeset 327 for trunk/trax/vendor/trax/action_view
- Timestamp:
- 09/26/09 09:40:51 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php
r316 r327 729 729 } 730 730 $end = $object->rows_per_page * $object->page; 731 $start = $end - ($object->rows_per_page - 1); 731 $start = $end - ($object->rows_per_page - 1); 732 732 if($end >= $object->pagination_count) { 733 733 $end = $object->pagination_count; 734 } 734 } 735 735 736 736 return $object->pagination_count ? sprintf($format, $start, $end, $object->pagination_count) : null;
