Zend Framework

DbSelect adapter not returning Rowsets on Db_Table_Select

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.6.2
  • Component/s: Zend_Paginator
  • Labels:
    None
  • Fix Version Priority:
    Should Have

Description

It is currently not possible to retrieve a Zend_Db_Table_Rowset from Zend_Paginator. This is due to the fact that it's not possible to get the table instance from a Zend_Db_Table_Select query.
A workaround for this problem could be an additional setTable() method in the DbSelect adapter. If a table is provided using this method, the DbSelect adapter will return a Rowset.

Issue Links

Activity

Hide
Jurrien Stutterheim added a comment -

Added proposed patch. The patch proposes an opt-out situation.
Suggestion from zftalk.dev:

ESL|Stalker: cenuij, ralphschindler, norm2782: suggestion: opt-in in 1.6.2, opt-out in 1.7?

Show
Jurrien Stutterheim added a comment - Added proposed patch. The patch proposes an opt-out situation. Suggestion from zftalk.dev: ESL|Stalker: cenuij, ralphschindler, norm2782: suggestion: opt-in in 1.6.2, opt-out in 1.7?
Hide
Jurrien Stutterheim added a comment -

Resolved in revision 11599

Show
Jurrien Stutterheim added a comment - Resolved in revision 11599

People

Vote (3)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: