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

Proposed Component Name Zend_Filter_StringToCapitalize
Developer Notes
Proposers Thomas Weidner
Zend Liaison TBD
Revision 1.0 - 12 April 2010: Initial Draft. (wiki revision: 2)

Table of Contents

1. Overview

Zend_Filter_StringToCapitalize is a simple string filter which lowercases the string and capitalizes each word.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will capitalize strings by lowercasing them and uppercasing the first character of each word
  • This component will only work on strings

4. Dependencies on Other Framework Components

  • Zend_Filter

5. Theory of Operation

The component is a string filter and can be used like all other filters.

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_StringToCapitalize

8. Use Cases


Default usage

INPUT : "my input"
OUTPUT: "My Input"



INPUT : "my ärger"
OUTPUT: "My Ärger"


Only first word

INPUT : "my ärger"
OUTPUT: "My ärger"

9. Class Skeletons


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