PMA\libraries\DisplayResults::_getCheckboxForMultiRowSubmissions PHP Method

_getCheckboxForMultiRowSubmissions() private method

Prepares a checkbox for multi-row submits
private _getCheckboxForMultiRowSubmissions ( string $del_url, array $displayParts, string $row_no, string $where_clause_html, array $condition_array, string $id_suffix, string $class ) : string
$del_url string delete url
$displayParts array array with explicit indexes for all the display elements
$row_no string the row number
$where_clause_html string url encoded where clause
$condition_array array array of conditions in the where clause
$id_suffix string suffix for the id
$class string css classes for the td element
return string the generated HTML
    private function _getCheckboxForMultiRowSubmissions($del_url, $displayParts, $row_no, $where_clause_html, $condition_array, $id_suffix, $class)
    {
        $ret = '';
        if (!empty($del_url) && $displayParts['del_lnk'] != self::KILL_PROCESS) {
            $ret .= '<td ';
            if (!empty($class)) {
                $ret .= 'class="' . $class . '"';
            }
            $ret .= ' class="center print_ignore">' . '<input type="checkbox" id="id_rows_to_delete' . $row_no . $id_suffix . '" name="rows_to_delete[' . $row_no . ']"' . ' class="multi_checkbox checkall"' . ' value="' . $where_clause_html . '" ' . ' />' . '<input type="hidden" class="condition_array" value="' . htmlspecialchars(json_encode($condition_array)) . '" />' . '    </td>';
        }
        return $ret;
    }
DisplayResults