예제 #1
0
 public static function countActive()
 {
     return User::find()->where(['status' => User::STATUS_ACTIVE])->count();
 }