Show
Ignore:
Timestamp:
05/31/06 21:33:29 (6 years ago)
Author:
john
Message:

fixed paging syntax in find_all

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php

    r213 r214  
    619619    }     
    620620     
    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") { 
    622622        if(is_object($object_name_or_object)) { 
    623623            $object = $object_name_or_object; 
     
    635635        } 
    636636         
    637         return "{$showing_text} {$start} - {$end} of {$object->pagination_count} {$showing_type}.";                      
     637        return "{$range_text} {$start} - {$end} of {$object->pagination_count} {$range_type}.";                      
    638638    } 
    639639