<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
Zend_Paginator_Adapter_DbTable is an extension of Zend_Paginator_Adapter_DbSelect that allows a Zend_Db_Table_Rowset to be returned as the result of the paginator. Most requirements take the form of "foo will do ...." or "foo will not support ...", although different words and sentence structure might be used. Adding functionality to your proposal is requirements creep (bad), unless listed below. Discuss major changes with your team first, and then open a "feature improvement" issue against this component.
Zend Framework: Zend_Paginator_Adapter_DbTable Component Proposal
Proposed Component Name
Zend_Paginator_Adapter_DbTable
Developer Notes
http://framework.zend.com/wiki/display/ZFDEV/Zend_Paginator_Adapter_DbTable
Proposers
Tom Graham
Zend Liaison
TBD
Revision
1.0 - 8 September 2008: Initial Draft. (wiki revision: 3)
Table of Contents
1. Overview
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
4. Dependencies on Other Framework Components
- Zend_Paginator
- Zend_Paginator_Adapter_DbSelect
- Zend_Paginator_Adapter_Abstract
- Zend_Exception
5. Theory of Operation
The same as DbSelect only a Zend_Db_Table_Rowset is returned.
6. Milestones / Tasks
Describe some intermediate state of this component in terms of design notes, additional material added to this page, and / code. Note any significant dependencies here, such as, "Milestone #3 can not be completed until feature Foo has been added to ZF component XYZ." Milestones will be required for acceptance of future proposals. They are not hard, and many times you will only need to think of the first three below.
- Milestone 1: design notes will be published here
- Milestone 2: Working prototype checked into the incubator supporting use cases #1, #2, ...
- Milestone 3: Working prototype checked into the incubator supporting use cases #3 and #4.
- Milestone 4: Unit tests exist, work, and are checked into SVN.
- Milestone 5: Initial documentation exists.
If a milestone is already done, begin the description with "[DONE]", like this:
- Milestone #: [DONE] Unit tests ...
7. Class Index
- Zend_Paginator_Adapter_DbTable
8. Use Cases
| UC-01 |
|---|
$table = new Users();
$select = $table->select()->order('last_name ASC');
$paginator = new Zend_Paginator(Zend_Paginator_Adapter_DbTable($select, $table);
2 Comments
comments.show.hideOct 13, 2008
Matthew Ratzloff
<p>I believe this is covered by the release of Zend_Paginator_Adapter_DbTableSelect in 1.7, correct?</p>
Oct 14, 2008
Tom Graham
<p>Yep, this is an old proposal and can be removed/archived now. </p>