Skip to end of metadata
Go to start of metadata

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: 4)

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

UC-01

9. Class Skeletons

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

    Zend Framework Approval
    This proposal is accepted for immediate development in the Standard Incubator, as-is.
  2. Aug 04, 2009

    When we can see a first version in the incubator ?

  3. Aug 06, 2009

    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.

    What is the difference between method get() and toString() ?