PMA\libraries\Util::getFKCheckbox PHP Method

getFKCheckbox() public static method

Get HTML for Foreign key check checkbox
public static getFKCheckbox ( ) : string
return string HTML for checkbox
    public static function getFKCheckbox()
    {
        $checked = self::isForeignKeyCheck();
        $html = '<input type="hidden" name="fk_checks" value="0" />';
        $html .= '<input type="checkbox" name="fk_checks"' . ' id="fk_checks" value="1"' . ($checked ? ' checked="checked"' : '') . '/>';
        $html .= '<label for="fk_checks">' . __('Enable foreign key checks') . '</label>';
        return $html;
    }
Util