Example #1
0
 function deleteRecords($landClassesIDArray = "")
 {
     $landClasses = new LandClasses();
     $rows = 0;
     foreach ($landClassesIDArray as $key => $value) {
         if ($landClasses->deleteRecord($value)) {
             $rows++;
         }
     }
     return $rows;
 }