仅内部使用笔记
链接写法: '自定义字段' => ['url:'.\Phpcmf\Service::L('Router')->url('field/index', ['rname'=>'table-表名称', 'rid'=>0]), 'fa fa-code'],
读取字段: $myfield = \Phpcmf\Service::M('field')->get_mytable_field('表名称', 0);
赋值写法: // 合并table字段 $myfield = \Phpcmf\Service::M('field')->get_mytable_field('表名称', 0); $myfield && $field = dr_array22array($field, $myfield);
迅睿CMS系统:https://www.xunruicms.com/ 本文档原文地址:https://www.xunruicms.com/doc/722.html
|
||
迅睿CMS系统:https://www.xunruicms.com/
本文档原文地址:https://www.xunruicms.com/doc/720.html
来源:oschina
链接:https://my.oschina.net/finecms/blog/4422605