会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
不解凡忧
CnBlogs
Home
New Post
Contact
Admin
Subscription
2016年6月28日
PHP--yii中findOne转换成数组
$res = News::findOne($new_id)->toArray();yii框架的多表联查:controller层: //news 与 news_theme 是多对一的关系$infomsg=News::find()->with('newstheme')->asArray()->all()
Read More
posted @ 2016-06-28 14:55 不解凡忧
Views(3886)
Comments(0)
Diggs(0)
Edit
公告