首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

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

2012-10-30 
替代配置文件在代码中创建Block$this-getLayout()-getBlock(content)-setChild(point.confirmation

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

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

热点排行