think templete extend功能完善

浏览:520 发布日期:2013/12/20 分类:技术分享
function replaceBlock($content)://增加父内容的调用实现
//$content = isset($this->block[$name]) ? $this->block[$name] : $content;
$content = isset($this->block[$name]) ? str_replace('<!-- block_parent -->', $content, $this->block[$name]) : $content;
最佳答案
评论() 相关
后面还有条评论,点击查看>>