开发插件,插件后台列表的loop循环中,如何在父控制器中指定数据库某个数据表作为这个后台列表模板的数据?
// 后台查看列表 ok
protected function _Xxxx_List() {
$xxxx = \Phpcmf\Service::M()->db->table(SITE_ID.'_xxx_'.$xxxx)->where('tid', $tid)->orderBy('id desc')->get()->getResultArray();
list($tpl,$xxxx) = $this->_List();
\Phpcmf\Service::V()->display($tpl);
}{loop $list $t}
{/loop}