Listing 29.5. Modyfikacja dekoratorów
/*
 * Zmieniamy dekoratory obiektu Zend_Form
 * Modyfikujemy elementy HTML tworzące formularz:
 *    <form>
 *    <dl>
 */
$this->addDecorators(array(
    'FormElements',
    array('HtmlTag', array('tag' => 'div', 'class' => 'abc', 'id' => 'def')),
    array('Form',    array('class' =>'xyz', 'style' => 'color: red'))
));