Zend Framework: Zend_Filter_StripNewlines Component Proposal
| Proposed Component Name | Zend_Filter_StripNewlines |
|---|---|
| Developer Notes | http://framework.zend.com/wiki/display/ZFDEV/Zend_Filter_StripNewlines |
| Proposers | My E-mail Address Zend Liaison Ralph Schindler |
| Revision | 24th January 2008: Initial proposal, code, tests 27th January 2008: Changed SVN path (wiki revision: 11) |
Table of Contents
1. Overview
Zend_Filter_StripNewlines is a filter that strips out newline control characters (\n \r \n\r)
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
- This component will strip newline control characters from the string.
- This component will not remove any other character.
4. Dependencies on Other Framework Components
- Zend_Filter_Interface
5. Theory of Operation
...
6. Milestones / Tasks
- Milestone 1: [DONE] Finalize proposal
- Milestone 2: [DONE] Working prototype checked into the http://zfdev.googlecode.com/svn/trunk/ZendFilterStripNewlines/
- Milestone 3: [DONE] Unit tests exist, work, and are checked into SVN.
- Milestone 4: Community and Zend review
7. Class Index
- Zend_Filter_StripNewlines
8. Use Cases
| UC-01 |
|---|
8 Comments
comments.show.hideJan 24, 2008
Jordan Ryan Moore
"\n\r" should be "\r\n", although I don't think either is necessary since replacing all occurrences of "\n" and "\r" will also replace "\r\n\".
Jan 24, 2008
Martin Hujer
Thanks, fixed in proposal and SVN.
Jan 30, 2008
Karol Babioch
As I'm not an American I'm not sure, but I think this class should be called Zend_Filter_StripNewLines by following the naming conventions.
If I'm wrong I'm asking for pardon.
Jan 30, 2008
Martin Hujer
Thanks for your comment!
I'm not an American as well, but on Wikipedia or on w3 is 'Newline' used as one word.
But this should be answered by somebody more competent.
Jan 30, 2008
Karol Babioch
Ok, than certainly you are right. I looked up my dictionary and couldn't find it, so I jumped to the conclusion it is wrong.
Jun 12, 2008
Ralph Schindler
This proposal is accepted as is into the Standard Incubator for development.
Mar 18, 2009
Wil Sinclair
Martin, what is the status of this proposal? It seems like a relatively small change, so it might be worth finishing off for the 1.8 release.
Mar 19, 2009
Martin Hujer
Wil, this component is already in standard ZF.
I've asked Ralph to move this proposal to another section, but he may had forgotten.