1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 15:47:00 +02:00

Pass $tableStatus to indexMethods, rename

This commit is contained in:
Jakub Vrana
2025-04-17 10:22:32 +02:00
parent a93f0003ae
commit dbec3a1b92
6 changed files with 20 additions and 19 deletions

View File

@@ -8,10 +8,7 @@
*/
class AdminerTableIndexesStructure extends Adminer\Plugin {
/** Print table structure in tabular format
* @param Index[] $indexes data about all indexes on a table
*/
function tableIndexesPrint($indexes): bool {
function tableIndexesPrint($indexes, $tableStatus): bool {
echo "<table>\n";
echo "<thead><tr><th>" . Adminer\lang('Name') . "<th>" . Adminer\lang('Type') . "<th>" . Adminer\lang('Columns') . "</thead>\n";
foreach ($indexes as $name => $index) {