Пример #1
0
 function deleteRecords($ownerIDArray = "")
 {
     $owner = new Owner();
     $rows = 0;
     foreach ($ownerIDArray as $key => $value) {
         if ($owner->deleteOwner($value)) {
             $rows++;
         }
     }
     return $rows;
 }