Zend<dt><dd>装饰者:移除它们我会失去什么 [英] Zend <dt> <dd> decorators: what do I lose by removing them

查看:29
本文介绍了Zend<dt><dd>装饰者:移除它们我会失去什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题是 Zend_Form 特有的.Zend_Form 添加了标准的装饰器,例如

;<dt>
.如果我要删除它们,我会失去什么?Zend_Form 本身是否将它们用于错误报告或任何其他原因?

This question is specific to Zend_Form. Zend_Form adds standard decorators such as <dd> <dt> <dl>. What do I lose if I were to remove them? Are they used by Zend_Form itself for error reporting or any other reason?

推荐答案

它们仅用于在定义列表中构建 Zend Form 元素的输出.您的表单是否呈现错误是通过错误装饰器控制的.

They are solely for structuring the output of your Zend Form elements in a definition list. Whether your form renders errors is controlled through the Error Decorator.

请参阅 Matthew Weier O'Phinney 撰写的这一系列文章:

See this series of articles by Matthew Weier O'Phinney:

和 Rob Allen 的 Zend_Form 教程:

and Rob Allen's Zend_Form Tutorial:

这篇关于Zend&lt;dt&gt;&lt;dd&gt;装饰者:移除它们我会失去什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆