private function _getCopyLink($copy_url, $copy_str, $where_clause, $where_clause_html, $class)
{
$ret = '';
if (!empty($copy_url)) {
$ret .= '<td class="';
if (!empty($class)) {
$ret .= $class . ' ';
}
$ret .= 'center print_ignore" ' . ' ><span class="nowrap">' . Util::linkOrButton($copy_url, $copy_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;
}