CGridView 怎樣加條件判斷?
不错啊! 学习下啊
恩。是的。。
就是这个意思,呵呵!
'value'=>'Lookup::item("PostStatus",$data->status)',
在value里,可以写个方法!然后在方法里做判断!