<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_View_Helper_Date is a view helper which simplifies the output of date objects within Zend_View.Zend Framework: Zend_View_Helper_Date Component Proposal
Proposed Component Name
Zend_View_Helper_Date
Developer Notes
http://framework.zend.com/wiki/display/ZFDEV/Zend_View_Helper_Date
Proposers
Thomas Weidner
Zend Liaison
TBD
Revision
1.0 - 7 June 2009: Initial Draft. (wiki revision: 5)
Table of Contents
1. Overview
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
4. Dependencies on Other Framework Components
- Zend_Date
- Zend_View_Helper
5. Theory of Operation
The component allows to access a date object within the view. It will also allow to simply output the expected date string.
6. Milestones / Tasks
- Milestone 1: [DONE] Proposal finished
- Milestone 2: Proposal accepted
- Milestone 3: Working implementation
- Milestone 4: Unit tests
- Milestone 5: Documentation
- Milestone 6: Moved to core
7. Class Index
- Zend_View_Helper_Date
8. Use Cases
| UC-01 |
|---|
3 Comments
comments.show.hideJul 14, 2009
Matthew Weier O'Phinney
<ac:macro ac:name="note"><ac:parameter ac:name="title">Zend Framework Approval</ac:parameter><ac:rich-text-body>
<p>This proposal is accepted for immediate development in the Standard Incubator, as-is.</p></ac:rich-text-body></ac:macro>
Aug 04, 2009
Benoît Durand
<p>When we can see a first version in the incubator ?</p>
Aug 06, 2009
Benoît Durand
<p>If we wish to format several dates in the same format in a iterator, it is necessary to chain the methods set() then get(). A method could define the format and an other one to have a parameter Zend_Date and returns the date string with the format defined previously like Zend_View_Helper_Currency.</p>
<p>What is the difference between method get() and toString() ?</p>