magento中的这些行是什么意思? [英] what's those line meaning in magento?

查看:86
本文介绍了magento中的这些行是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<?php foreach ($this->getChildGroup('detailed_info', 'getChildHtml') as $alias => $html):?>
    <div class="box-collateral <?php echo "box-{$alias}"?>">
        <?php if ($title = $this->getChildData($alias, 'title')):?>
        <h2><span><?php echo $this->escapeHtml($title); ?></span></h2>
        <?php endif;?>
        <?php echo $html; ?>
    </div>
<?php endforeach;?>
    <?php echo $this->getChildHtml('product_additional_data') ?>

在magento中这些行是什么意思?

what's those line meaning in magento?

推荐答案

  1. 遍历每个子对象(使用名称child_info通过方法getchildhtml进行分组),并输出这些块中的数据
  2. 获取product_additional_data块的html

这篇关于magento中的这些行是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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