Added by Jan Pieper, last edited by Jan Pieper on Jul 17, 2008  (view change) show comment

Labels

 

Zend Framework: Zend_Form_Element_Note Component Proposal

Proposed Component Name Zend_Form_Element_Note
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Form_Element_Note
Proposers Jan Pieper
Zend Liaison  
Revision 1.0 - 16 July 2008: Initial Draft. (wiki revision: 7)

Table of Contents

1. Overview

Zend_Form_Element_Note is a simple component that displays plain text in Zend_Form. Very usefull if you do not want users to edit a fields value.

There is still Zend_View_Helper_FormNote (see references), but in an XHTML document it causes a warning (used W3C HTML Validator) because the label belongs to no matching element.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

All requirements are shown as dependencies below.

4. Dependencies on Other Framework Components

  • Zend_Form
  • Zend_Form_Element_Xhtml
  • Zend_View_Helper_FormElement

5. Theory of Operation

The component displays plain text using html <span> element in a form build with Zend_Form.

6. Milestones / Tasks

  • Milestone 1: [DONE] Initial Draft
  • Milestone 2: [DONE] Use cases
  • Milestone 3: [DONE] Class skeletons
  • Milestone 4: Ready for Comments
  • Milestone 5: ...

7. Class Index

  • Zend_Form_Element_Note
  • Zend_View_Helper_FormNote

8. Use Cases

UC-01: User can change his account data, but not his login.

9. Class Skeletons