Php Magento系统配置:什么';在区段和组中使用前端_类型是什么?
在Php Magento系统配置:什么';在区段和组中使用前端_类型是什么?,php,magento,configuration,Php,Magento,Configuration,在system.xml中,我可以为区段和组定义frontend_类型 Mage\u目录的示例 <sections> <catalog translate="label" module="catalog"> <class>separator-top</class> <label>Catalog</label> <tab>catalog</tab>
system.xml
中,我可以为区段和组定义frontend_类型
Mage\u目录的示例
<sections>
<catalog translate="label" module="catalog">
<class>separator-top</class>
<label>Catalog</label>
<tab>catalog</tab>
<frontend_type>text</frontend_type>
<sort_order>40</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<groups>
<frontend translate="label">
<label>Frontend</label>
<frontend_type>text</frontend_type>
<sort_order>100</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
分离器顶部
目录
目录
文本
40
1.
1.
1.
前端
文本
100
1.
1.
1.
是否有任何例子表明这不是文本?什么是用例?据我从Alan Storm了解,
的值在工厂样式模式中用于实例化一个格式为的类
Varien_Data_Form_Element_Type
其中Type
是
的值。这发生在Varien\u Data\u Form\u Element\u Abstract
类的addField
方法中,该类未在节和组上调用。问得好。看起来它们在渲染过程中确实被忽略了。您在忽略代码的地方查找了代码吗?请随意将其作为真实答案发布。