class OpenDialog in Forena Reports 8
Class OpenDialog
Plugin annotation
@FrxAjaxCommand(
id = "openDialog"
)
Hierarchy
- class \Drupal\forena\FrxPlugin\AjaxCommand\AjaxCommandBase implements AjaxCommandInterface
- class \Drupal\forena\FrxPlugin\AjaxCommand\OpenDialog
Expanded class hierarchy of OpenDialog
File
- src/
FrxPlugin/ AjaxCommand/ OpenDialog.php, line 21
Namespace
Drupal\forena\FrxPlugin\AjaxCommandView source
class OpenDialog extends AjaxCommandBase {
public function commandFromSettings(array $settings) {
$selector = $this
->getSetting($settings, 'selector');
$title = $this
->getSetting($settings, 'title');
$content = $this
->getSetting($settings, 'text');
return new OpenDialogCommand($selector, $title, $content, $settings);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AjaxCommandBase:: |
protected static | property | ||
AjaxCommandBase:: |
public | function | Get json text. | |
AjaxCommandBase:: |
public | function | ||
AjaxCommandBase:: |
public static | function | Report Replacer. | |
OpenDialog:: |
public | function |
Settings are passed into this factory from either the skin or the report
element. If there are complex structures when used in the arguments they
will be passed in the 'text' setting. These should be decoded by any
plugin intending to use… Overrides AjaxCommandInterface:: |