标签: php activerecord behavior yii
Yii Active Record如何在afterFind上设置行为?
public function afterFind() { }
答案 0 :(得分:0)
使用attachBehavior()在运行时附加行为。