我有一个Magento主题的网站,我发现这个代码PHP。这是什么意思PHP代码? Magento
<div class="product-options sss" id="product-options-wrapper">
<?php echo $this->getChildHtml('', true, true);?>
<?php if ($this->hasRequiredOptions()):?>
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
<?php endif;?>
</div>
在这段代码中谁是this
?我的div?
getChildHtml('', true, true);
从我,我意识到,''
在互联网上找到意味着所有的孩子一个div(其格?)
我不明白是什么参数用于布尔true true
...帮助他们?
我在网上找到它getChildHtml
方法从XML文件中取得东西。我可以在哪里找到这个文件?
你能给我解释一个简单的示例代码吗?
提前致谢!