";
}
if($hasWriteAccess )
{
$edit_link="";
}
if($hasExecuteAccess)
{
$delete_link="";
}
$assign_link = $assign_link ?? '';
$space=" ";
$links = $assign_link.$space.$view_link.$space.$edit_link.$space.$delete_link;
$data['rows'][] = array(
'id' => $row1['subject_id'],
'cell' => array( $links,$count++,$row1['subject_name']));
}
$paramlist = $paramlist ?? '';
$data['rows'][] = array(
'id' => isset($row['filterkey']) ? $row['filterkey'] : '',
'cell' => array('', "", "", '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '')
);
echo json_encode($data);
?>