仅内部使用笔记
链接写法:
'自定义字段' => ['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);