The Simplest Zend_Form Decorator

Matthew Weier O’Phinney has just posted the first of a series of articles on Zend_Form’s decorator system.

Zend_Form decorators all implement a common interface, Zend_Form_Decorator_Interface. That interface provides the ability to set decorator-specific options, register and retrieve the element, and render. A base decorator, Zend_Form_Decorator_Abstract, provides most of the functionality you will ever need, with the exception of the rendering logic.

I strongly recommend that everyone reads it!

Posted by Rob on 3rd April 2009 under Around the web | Comments Off

Comments are closed.