Issue Details (XML | Word | Printable)

Key: ZF-5785
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jurrien Stutterheim
Reporter: Tomá? Fejfar
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Zend Framework

Zend_Paginator should offer setDefaultItemCountPerPage()

Created: 14/Feb/09 10:17 AM   Updated: 17/Jul/10 03:39 PM   Resolved: 18/Jun/09 04:58 PM
Component/s: Zend_Paginator
Affects Version/s: None
Fix Version/s: 1.8.4

Time Tracking:
Not Specified

Issue Links:
Related
 


 Description  « Hide

Zend_Paginator should offer setDefaultItemCountPerPage().

Scenario:
Someone is using Zend_Paginator in his project and suddenly realizes that he don't want default 10 items per page, but he didn't use $paginator->setDefaultItemCountPerPage(10) - so he can't use replace.

How it should work:
Zend_Paginator::setDefaultItemCountPerPage(int $count); //would change from 10 to $count



Jurrien Stutterheim added a comment - 18/Jun/09 04:58 PM

Resolved in revision 16141 and merged to branch in revision 16142.


Ramon Henrique Ornelas added a comment - 17/Jul/10 03:39 PM

Restoration of assigning was my mistake I thought I was another problem. Excuse me.