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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user