magento get block content 发布于2019年1月24日 作者:yang magento获取block内容的方式 $this->loadLayout();$toplink = $this->getLayout()->getBlock('top.links')->toHtml(); 最后直接输出 $toplink;