Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[

Zend Framework: Zend_View_Helper_TimeSince Component Proposal

Proposed Component Name Zend_View_Helper_TimeSince
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_View_Helper_TimeSince
Proposers [Geoffrey Tran]
Zend Liaison TBD
Revision 1.0 - 1 January 2008: Initial Draft. (wiki revision: 3)

Table of Contents

1. Overview

Zend_View_Helper_TimeSince formats a date as the time since that date (e.g., "4 weeks")
This is useful for creating "Last updated 5 week and 4 days ago" strings

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will extend Zend_View_Helper_Abstract
  • This component will allow the use of translation
  • This component will format a date using a timestamp

4. Dependencies on Other Framework Components

  • Zend_View_Helper_Abstract
  • Zend_View_Helper_Translate

5. Theory of Operation

Calculates time passed since a specified time.

6. Milestones / Tasks

  • Milestone 1: [DONE] Proposal creation
  • Milestone 2: [DONE] Working Code, Documentation, Tests
  • Milestone 3: Working prototype checked into the incubator.
  • Milestone 4: Unit tests exist, work, and are checked into SVN.
  • Milestone 5: Initial documentation exists.

7. Class Index

  • Zend_View_Helper_TimeSince

8. Use Cases

UC-01

9. Class Skeletons

]]></ac:plain-text-body></ac:macro>

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