Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我将 Zend_Form_Element 添加到表单时,我明确设置了装饰器的顺序,以便在标签之后呈现错误装饰器。但是,当我将此表单添加为子表单时,它会更改装饰器的顺序,因为标签装饰器被移动到末尾。是什么导致了这种行为,我该如何改变它?
想通了这个问题。原来我只是在扩展 Zend_Form::addElement() 时犯了一个错误。