Plugins
class Plugins (View source)
Methods
Instantiates the specified plugin type for a certain format
No description
No description
No description
Returns html input tag option 'checked' if plugin $opt should be set by config or request
Validates the plugin name and returns it, or falls back to 'sql' if invalid.
Returns default value for option $opt
No description
Returns html div with editable options for plugin
Details
static object|null
getPlugin(string $type, string $format, ExportType $exportType = ExportType::Raw, bool $singleTable = false)
Instantiates the specified plugin type for a certain format
static array
getExport(ExportType $type, bool $singleTable)
No description
static array
getImport()
No description
static array
getSchema()
No description
static string
checkboxCheck(PluginType $pluginType, string $opt)
Returns html input tag option 'checked' if plugin $opt should be set by config or request
static string
validatePluginNameOrUseDefault(array $plugins, string $pluginName)
Validates the plugin name and returns it, or falls back to 'sql' if invalid.
static string
getDefault(PluginType $pluginType, string $opt)
Returns default value for option $opt
static array
getChoice(array $list, string $default)
No description
static string
getOptions(PluginType $pluginType, array $list)
Returns html div with editable options for plugin
static string
getDocumentationLinkHtml(OptionsPropertyOneItem $propertyGroup)
No description