【发布时间】:2011-10-25 09:56:24
【问题描述】:
有什么方法可以设置我所有的 Zend_Forms 吗?
$this->element->setDecorators(array(
'ViewHelper',
'Errors',
'Label',
array('HtmlTag', array('tag' => 'div', 'id' => '[MyElementLabel]')));
而不是对我的 Zend_forms 的元素逐一进行?我的意思是类似于表单布局
【问题讨论】:
标签: php zend-framework zend-form decorator