PMA\libraries\DbQbe::_getFootersOptions PHP Method

_getFootersOptions() private method

Provides footer options for adding/deleting row/columns
private _getFootersOptions ( string $type ) : string
$type string Whether row or column
return string HTML for footer options
    private function _getFootersOptions($type)
    {
        $html_output = '<div class="floatleft">';
        $html_output .= $type == 'row' ? __('Add/Delete criteria rows') : __('Add/Delete columns');
        $html_output .= ':<select size="1" name="' . ($type == 'row' ? 'criteriaRowAdd' : 'criteriaColumnAdd') . '">';
        $html_output .= '<option value="-3">-3</option>';
        $html_output .= '<option value="-2">-2</option>';
        $html_output .= '<option value="-1">-1</option>';
        $html_output .= '<option value="0" selected="selected">0</option>';
        $html_output .= '<option value="1">1</option>';
        $html_output .= '<option value="2">2</option>';
        $html_output .= '<option value="3">3</option>';
        $html_output .= '</select>';
        $html_output .= '</div>';
        return $html_output;
    }