我与XML建立了我的Zentd_Form,现在只有一行一行,一线可以向XML转移。
/* Do some stuff like $form = new Zend_Form etc */
$form->removeDecorator( HtmlTag );
How could I add removeDecorator to XML? My try:
<forms>
<login>
<action>form/</action>
<method>post</method>
<options>
<removeDecorator>HtmlTag</removeDecorator>
</options>
<elements>
<!--- stuff --->
</elements>
</login>
</forms>
但是,它没有删除<代码><dl类别=“zend_form”>。