예제 #1
0
 function postProcess()
 {
     $batchIds = array();
     foreach ($_POST as $key => $value) {
         if (substr($key, 0, 6) == "check_") {
             $batch = explode("_", $key);
             $batchIds[] = $batch[1];
         }
     }
     if (!empty($_POST['batch_update'])) {
         CRM_Batch_BAO_Batch::closeReOpen($batchIds, $_POST['batch_update']);
     }
 }