Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Magento系统配置:什么';在区段和组中使用前端_类型是什么?_Php_Magento_Configuration - Fatal编程技术网

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
方法中,该类未在节和组上调用。

问得好。看起来它们在渲染过程中确实被忽略了。您在忽略代码的地方查找了代码吗?请随意将其作为真实答案发布。