Zend Framework Forms
Zend Framework Forms
Zend Framework Forms
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
In-Depth: Decorators<br />
• Each decorator has awareness of the<br />
element/form/etc.<br />
� Allows inspecting item to get metadata<br />
� Agnostic of class being decorated; retrieve with<br />
getElement() accessor regardless of class<br />
� Useful for building decorators that render only<br />
one aspect of an item<br />
• Label<br />
• Description<br />
• Errors<br />
5 Mar 2008<br />
| Page 42