0

I'm know how to add custom decorators and use view helpers to set decorators for named elements.

Is their a method or an attribute that would allow me to set a default decorator for all textareas or for all text inputs or all selects?

Thank you

4

1 回答 1

0

是的,您可以为您的 html 对象(如 textarea 或文本框)覆盖默认的 zend 装饰器

这是创建我们自己的 decomrator Link的好例子

于 2013-04-15T06:18:41.563 回答