关联数据表(多语言版)
命令 参数名 默认值 参数说明 必填
关联数据表(多语言版) type langmodel 把时间戳转换为时间格式
公共配置 title 默认表头栏,当相表并头没有被定义时,取该值输出 1
type langmodel 字段内容转义输入类型 1
titletag 当前键名 标题标签 0
parentkey CommTag 标题标签的父签 0
width 字段在列表中占据的宽度 0
class 单元格自定义样式,设为“layui-table-cell-over”时,超出长度是自动截断,点击显示完整内容 0
参数配置 source 关联对象数据源定义 1
source.idfiled id 数据表主键 1
source.valuefiled title 显示关联对象的字段 1
source.dbmodel 关联对象数据模型 1
'cat_id' => array(
    'type' => 'langmodel',
    'title' => '分类',
    'source' => array(
        'idfiled' => 'id',
        'valuefiled' => 'title',
        'dbmodel' => '\Common\Gmodel\GoodsCateModel',
    ),
),