读书人

代替配置文件在代码中创建Block

发布时间: 2012-10-30 16:13:36 作者: rapoo

替代配置文件在代码中创建Block

$this->getLayout()->getBlock('content')->setChild(  'point.confirmation',  $this->getLayout()->createBlock('catalogue/point_confirmation'));

读书人网 >编程

热点推荐