Matt,

Taking a closer look at the documentation, the "All" scrolling style
"returns every page." I'm not trying to show every page in the
paginator control, I'm trying to have an infinite item count *per
page* (which, of course, will make it so I have only one page of
items). Like I said, passing a negative one (-1) to the
setItemCountPerPage method does the job - I just don't know if this is
an intended feature or something that just happens to work now but may
not be supported in the future.

Thanks,
Bradley

On Mon, Dec 29, 2008 at 1:00 PM, Matthew Ratzloff
<[email protected]> wrote:
>
> Hi Bradley,
> Use the scrolling style "All" instead.
> Please see http://framework.zend.com/manual/en/zend.paginator.usage.html for 
> more information.
> -Matt
>
> On Sun, Dec 28, 2008 at 6:40 PM, Bradley Holt <[email protected]> 
> wrote:
>>
>> I was looking for a way to have Zend_Paginator show all of the items.
>> For example, I have a selector that allows a user to show 25, 50, 100,
>> or all records. I couldn't find any documentation but by experimenting
>> I found that I could pass a negative one (-1) to setItemCountPerPage
>> and it would show all items (actually, I think any negative number
>> will show all items). Since I couldn't find any documentation on this
>> I'm wondering if this is a supported feature of Zend_Paginator that
>> just happens to work now but might break in the future.
>>
>> Thanks,
>> Bradley
>>
>> --
>> Bradley Holt
>> [email protected]
>



--
Bradley Holt
[email protected]

Reply via email to