Changeset 214 for trunk/trax/vendor/trax/action_view
- Timestamp:
- 05/31/06 21:33:29 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php
r213 r214 619 619 } 620 620 621 function pagination_range_text($object_name_or_object, $ showing_text = "Showing", $showing_type = "items") {621 function pagination_range_text($object_name_or_object, $range_text = "Showing", $range_type = "items") { 622 622 if(is_object($object_name_or_object)) { 623 623 $object = $object_name_or_object; … … 635 635 } 636 636 637 return "{$ showing_text} {$start} - {$end} of {$object->pagination_count} {$showing_type}.";637 return "{$range_text} {$start} - {$end} of {$object->pagination_count} {$range_type}."; 638 638 } 639 639
