Plugin
in package
AbstractYes
Functional extension for
Table of Contents
Methods
- getCss() : array<string, mixed>|null
- Get css for plugin
- getForm() : string
- Get html code for current (sub)form
- getScriptDummy() : string|null
- Get javascript for current (sub)form
- getScriptForm() : array<string, mixed>|null
- Get javascript for current (multi)form
- getScriptTable() : array<string, mixed>|null
- isValid() : bool
- Check plugins validity based on selected form
Methods
getCss()
Get css for plugin
public
getCss() : array<string, mixed>|null
Return values
array<string, mixed>|nullgetForm()
Get html code for current (sub)form
public
getForm(string|int $id[, bool $dummy = false ]) : string
Parameters
- $id : string|int
- $dummy : bool = false
Return values
stringgetScriptDummy()
Get javascript for current (sub)form
public
getScriptDummy(string $jsForm) : string|null
Parameters
- $jsForm : string
Return values
string|nullgetScriptForm()
Get javascript for current (multi)form
public
getScriptForm(string $jsForm) : array<string, mixed>|null
Parameters
- $jsForm : string
Return values
array<string, mixed>|nullgetScriptTable()
public
getScriptTable(int $id, string $form) : array<string, mixed>|null
Parameters
- $id : int
- $form : string
Tags
Return values
array<string, mixed>|nullisValid()
Check plugins validity based on selected form
public
isValid(Form $form) : bool
Parameters
- $form : Form