腼腆小青年

yii2框架 widgets 向function内部传递参数
[ 'attribute' => 'action', 'value' => funct...
扫描右侧二维码阅读全文
26
2019/03

yii2框架 widgets 向function内部传递参数

[
    'attribute' => 'action',
    'value' => function ($data) use ($model) {
        return $model->to_path.'/'.$data->action;
    }
],
Last modification:March 26th, 2019 at 10:37 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment