class CRM_Batch_Page_AJAX {
/**
- * Save record
+ * Save record.
*/
public function batchSave() {
// save the entered information in 'data' column
}
/**
- * Retrieve records
+ * Retrieve records.
*/
public static function getBatchList() {
$sortMapper = array(
'links',
);
}
+ header('Content-Type: application/json');
echo CRM_Utils_JSON::encodeDataTableSelector($batches, $sEcho, $iTotal, $iFilteredTotal, $selectorElements);
CRM_Utils_System::civiExit();
}