Zend Framework: Zend_Filter_FindCaseKeys Component Proposal
| Proposed Component Name | Zend_Filter_FindCaseKeys |
|---|---|
| Developer Notes | http://framework.zend.com/wiki/display/ZFDEV/Zend_Filter_FindCaseKeys |
| Proposers | Aleksey 'Xerkus' Khudyakov |
| Zend Liaison | TBD |
| Revision | 1.0 - 4 April 2011: Initial Draft. (wiki revision: 3) |
Table of Contents
1. Overview
Zend_Filter_FindCaseKeys may be used to get all case variations of specified key. This is especially useful when using function array_change_key_case() is not an option.
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
I expect discussion if this component should accept array of keys to find
- This component will accept string to match key names against.
- This component will filter arrays and objects with toArray() method.
- This component will return array of matched keys.
4. Dependencies on Other Framework Components
- Zend_Exception
- Zend_Filter_Exception
5. Theory of Operation
6. Milestones / Tasks
- Milestone 1: Get community input
- Milestone 2: Working prototype for ZF1
- Milestone 3: Unit tests exist, work, and are checked into SVN.
- Milestone 4: Initial documentation exists.
- Milestone 5: Updated code and unit tests for ZF2.
7. Class Index
- Zend_Filter_FindCaseKeys
8. Use Cases
| UC-01: in application resource |
|---|
9. Class Skeletons
Labels:
None