oraclelee
- oraclelee 回复了话题 google PR最新算法
谢谢楼主分享。
- oraclelee 发布了话题关于relations的求助
- oraclelee 回复了话题 怎么没人上传点小项目呀
同求啊 论坛能提供些不?
- oraclelee 回复了话题 关于 relations
明白了,大神啊。受教受教
- oraclelee 回复了话题 关于 relations
public function relations() { return array( 'author' => array(self::BELONGS_TO, 'User', 'author_id‘), 'comments' => array(self::HAS_MANY, 'Comment', 'post_id', 'condition'=>'comments.status='.Comment::STATUS_APPROVED, 'order'=>'comments.create_time DESC'), 'commentCount' => array(self::STAT, 'Comment', 'post_id', 'condition'=>'status='.Comment::STATUS_APPROVED), ); }
- oraclelee 回复了话题 关于 relations
原来是这样子用的啊。
真假。。。
- oraclelee 评论了教程 Yii开发过程中的低级错误
学习下。