<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
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.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
My E-mail Address
Revision
1.0 - 31 January 2008: First proposal (wiki revision: 8)
Table of Contents
1. Overview
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 not remove any other character
4. Dependencies on Other Framework Components
- Zend_Filter_Interface
- Zend_Filter_Exception
5. Theory of Operation
You can use this filter just like every other Zend_Filter_*, but you can also specify whether to
strip out all spaces or not by creating a new object (constructor).
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 |
|---|