示例#1
0
 public static function existValueInRows($rows, Apartment $model)
 {
     foreach ($rows as $row) {
         if (!$model->canShowInView($row['field'])) {
             continue;
         }
         return true;
     }
     return false;
 }