Plugins
class Plugins (View source)
Methods
Instantiates the specified plugin type for a certain format
No description
No description
No description
Returns locale string for $name or $name if no locale is found
Returns html input tag option 'checked' if plugin $opt should be set by config or request
Returns default value for option $opt
No description
Get HTML for properties items
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
getString(string|null $name)
Returns locale string for $name or $name if no locale is found
static string
checkboxCheck(string $section, string $opt)
Returns html input tag option 'checked' if plugin $opt should be set by config or request
static string
getDefault(string $section, string $opt)
Returns default value for option $opt
static array
getChoice(array $list, string $default)
No description
static string
getHtmlForProperty(string $section, string $pluginName, OptionsPropertyItem $propertyItem)
Get HTML for properties items
static string
getOptions(string $section, array $list)
Returns html div with editable options for plugin