Zend Framework

Zend_Paginator should offer setDefaultItemCountPerPage()

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.8.4
  • Component/s: Zend_Paginator
  • Labels:
    None

Description

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

Issue Links

Activity

Hide
Jurrien Stutterheim added a comment -

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

Show
Jurrien Stutterheim added a comment - Resolved in revision 16141 and merged to branch in revision 16142.
Hide
Ramon Henrique Ornelas added a comment -

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

Show
Ramon Henrique Ornelas added a comment - Restoration of assigning was my mistake I thought I was another problem. Excuse me.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: