飘逸

飘逸

这家伙有点懒,还没写个性签名!

  • 财富值4408
  • 威望值280
  • 总积分8178

个人信息

  • 回复了 的回答

    你可以为其配置 content 属性,属性的值是一个匿名函数。他看起来就像是这样子的

    'columns' => [
        'id',
        'title',
        [
            'attribute' => 'created_at',
            'content' => function ($model, $key, $index, $column) {
                return '你需要的字符串,在这里的$model很有用比如:' . $model->created_at;
             }
        ],
    ],
    

    哦哦,为毛教育你的啊?

  • 2016-07-22 已签到
    连续签到1天,获得了5个金钱
  • 2016-07-20 已签到
    连续签到2天,获得了10个金钱
  • 你可以为其配置 content 属性,属性的值是一个匿名函数。他看起来就像是这样子的

    'columns' => [
        'id',
        'title',
        [
            'attribute' => 'created_at',
            'content' => function ($model, $key, $index, $column) {
                return '你需要的字符串,在这里的$model很有用比如:' . $model->created_at;
             }
        ],
    ],
    
  • 关注了
  • 回复了 的说说
    北京下了两天雨了,大家所在城市是否在下雨?
    昨天还没啥,今天特别大。
  • 2016-07-19 已签到
    连续签到1天,获得了5个金钱
  • 2016-07-15 已签到
    连续签到1天,获得了5个金钱
  • 2016-06-22 已签到
    连续签到3天,获得了15个金钱
  • 2016-06-21 已签到
    连续签到2天,获得了10个金钱
副总裁 等级规则
8178/10000
资料完整度
10/100
用户活跃度
0/100

Ta的关注

15

Ta的粉丝

22

Ta的访客

68