magento get block content1 月 24, 2019yang未分类 magento获取block内容的方式 $this->loadLayout();$toplink = $this->getLayout()->getBlock('top.links')->toHtml(); 最后直接输出 $toplink;