Zend framework utilizes the decorator pattern to render elements and forms. The decorator is generally used to comply with the single responsibility principle as it admits functionality to be divided between classes with unique areas of concern.
One basic technique to define a common decorator pattern is a design that allows the behavior to be added to a particular object, either statically or dynamically, without affecting various other objects from the same class.