";
}
if($hasWriteAccess)
{
$edit_link="";
}
if($hasExecuteAccess)
{
$delete_link="";
}
$space=" ";
$links = $assign_link.$space.$view_link.$space.$edit_link.$space.$delete_link;
$data['rows'][] = array(
'id' => $row_checkup['checkup_cat_id'],
'cell' => array($count++ ,$row_checkup['checkup_cat_name'], $row_checkup['checkup_cat_desc'],$row_checkup['checkup_cat_code'],$links)
);
}
// error_log("data: ".print_r($data, true));
echo json_encode($data);
?>