通过class的类名string来调用方法
yii2 2019-02-23 10:42:03 1

 5C28181C2B361040C9B8DE5C08CE70C5.png

PHP Code复制内容到剪贴板
  1. $model = call_user_func([$this->modelClass,'findOne'],$one);  

 

 

 

本文来自于:http://www.yoyo88.cn/study/yii2/414.html

通过class的类名string来调用方法(0)
还可以输入500
暂无评论
Powered by yoyo苏ICP备15045725号