New plugin: Configure options by end-users and store them to a cookie

This commit is contained in:
Jakub Vrana
2025-04-06 06:24:55 +02:00
parent 48f82b3454
commit cca943015f
6 changed files with 81 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
namespace Adminer;
class Plugins {
/** @var true[] */ private static array $append = array('dumpFormat' => true, 'dumpOutput' => true, 'editRowPrint' => true, 'editFunctions' => true); // these hooks expect the value to be appended to the result
/** @var true[] */ private static array $append = array('dumpFormat' => true, 'dumpOutput' => true, 'editRowPrint' => true, 'editFunctions' => true, 'config' => true); // these hooks expect the value to be appended to the result
/** @var list<object> @visibility protected(set) */ public array $plugins;
/** @visibility protected(set) */ public string $error = ''; // HTML