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_Filter_Newline Component Proposal

Proposed Component Name Zend_Filter_Newline
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Filter_Newline
Proposers Thomas Weidner
Zend Liaison TBD
Revision 1.0 - 8 August 2009: Initial Draft. (wiki revision: 11)

Table of Contents

1. Overview

Zend_Filter_Newline is a filter which handles conversion between various line termination styles used on different architectures.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will support Windows, Unix, Mac, Native and custom line terminators
  • This component will also support Unicode line terminators
  • This component will allow to replace newlines with arbitrary text

4. Dependencies on Other Framework Components

  • Zend_Filter_Interface
  • Zend_View_Helper_Newline

5. Theory of Operation

Zend_Filter_Newline is a filter which can change/filter newlines of given strings. It takes also care of unicode line terminators. For simplicity this filter also adds a view helper which makes use of this filter.

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_Filter_Newline
  • Zend_View_Helper_Newline

8. Use Cases

UC-01

Converting Mac to Windows

UC-02

Converting Windows-style into '<br />'s

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.