";
}
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_job_profile['id'],
'cell' => array(
$count ++,
$row_job_profile['job_profile_name'],
$row_job_profile['job_profile_code'],
$links
)
);
}
echo json_encode($data);
?>