Пример #1
0
 function deleteRecords($plantsTreesClassesIDArray = "")
 {
     $plantsTreesClasses = new PlantsTreesClasses();
     $rows = 0;
     foreach ($plantsTreesClassesIDArray as $key => $value) {
         if ($plantsTreesClasses->deleteRecord($value)) {
             $rows++;
         }
     }
     return $rows;
 }