//Fragment metody loadDefaultDecorators() //klasy Zend_Form_Element $this->addDecorator('ViewHelper') ->addDecorator('Errors') ->addDecorator('Description', array('tag' => 'p', 'class' => 'description')) ->addDecorator('HtmlTag', array('tag' => 'dd', 'id' => array('callback' => $getId))) ->addDecorator('Label', array('tag' => 'dt'));
Listing 29.4. Domyślne obiekty dekorujące klasy Zend_Form_Element
Rozdział 29. Dostosowywanie kodu HTML formularzy