private function _getEditLink($edit_url, $class, $edit_str, $where_clause, $where_clause_html)
{
$ret = '';
if (!empty($edit_url)) {
$ret .= '<td class="' . $class . ' center print_ignore" ' . ' ><span class="nowrap">' . Util::linkOrButton($edit_url, $edit_str, array(), false);
/*
* Where clause for selecting this row uniquely is provided as
* a hidden input. Used by jQuery scripts for handling grid editing
*/
if (!empty($where_clause)) {
$ret .= '<input type="hidden" class="where_clause" value ="' . $where_clause_html . '" />';
}
$ret .= '</span></td>';
}
return $ret;
}