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

Proposed Component Name Zend_Filter_StripSpaces
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Filter_StripSpaces
Proposers Thomas Weidner
Revision 1.0 - 04 Oktober 2009 (wiki revision: 9)

Table of Contents

1. Overview

Zend_Filter_StripSpaces will strip all spaces out of a string. You can specify if you want to strip out all spaces or just the unnecessary ones, means multiple spaces behind one another.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will correctly strip out all repeated spaces, as they are insignificat in some context (e.g. html)
  • This component will correctly strip out all spaces, when specified
  • This component will also handle Unicode White Spaces
  • This component will not remove any other character

4. Dependencies on Other Framework Components

  • Zend_Filter_Interface
  • Zend_Filter_Exception

5. Theory of Operation

Based on the specified options, this filter will strip all, more than one and/or also unicode white spaces.

6. Milestones / Tasks

  • Milestone 1: [DONE] Creating base class
  • Milestone 2: [DONE] Importing current development state into Subversion (http://johnpatcher-zf.googlecode.com/svn/trunk/ZendFilterStripSpaces/)
  • Milestone 3: Proposal acceptance
  • Milestone 4: Import of current prototype to ZF SVN
  • Milestone 5: Unit tests
  • Milestone 6: Improvements (if necessary)
  • Milestone 7: Documentation

7. Class Index

  • Zend_Filter_StripSpaces

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.