Skip to end of metadata
Go to start of metadata

<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 Framework: Zend_View_Helper_Date Component Proposal

Proposed Component Name Zend_View_Helper_Date
Developer Notes
Proposers Thomas Weidner
Zend Liaison TBD
Revision 1.0 - 7 June 2009: Initial Draft. (wiki revision: 5)

Table of Contents

1. Overview

Zend_View_Helper_Date is a view helper which simplifies the output of date objects within Zend_View.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will allow to access and output Zend_Date objects directly in the view.

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


9. Class Skeletons



Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jul 14, 2009

    <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>

  2. Aug 04, 2009

    <p>When we can see a first version in the incubator ?</p>

  3. Aug 06, 2009

    <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>