class Data in Forena Reports 7.4
Same name and namespace in other branches
- 8 src/FrxPlugin/AjaxCommand/Data.php \Drupal\forena\FrxPlugin\AjaxCommand\Data
Class Data
Plugin annotation
@FrxAjaxCommand(
id = "data"
)
Hierarchy
- class \Drupal\forena\FrxPlugin\AjaxCommand\AjaxCommandBase implements AjaxCommandInterface
- class \Drupal\forena\FrxPlugin\AjaxCommand\Data
Expanded class hierarchy of Data
9 string references to 'Data'
- forena_menu in ./
forena.module - Implementation of hook_menu.
- Frx::getAjaxPlugin in ./
Frx.inc - FrxCrosstab::configForm in renderers/
FrxCrosstab.inc - Crosstab configuration form.
- FrxEditor::blockLinks in ./
FrxEditor.inc - FrxEditor::foreachLinks in ./
FrxEditor.inc - Add foreach section links to blocks.
File
- AjaxCommand/
Data.php, line 19
Namespace
Drupal\forena\FrxPlugin\AjaxCommandView source
class Data extends AjaxCommandBase {
public function commandFromSettings(array $settings) {
$selector = $this
->getSetting($settings, 'selector');
$name = $this
->getSetting($settings, 'name');
$value = $this
->getSetting($selector, 'value');
return ajax_command_data($selector, $name, $value);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AjaxCommandBase:: |
protected | property | ||
AjaxCommandBase:: |
public | function | ||
AjaxCommandBase:: |
public | function | ||
AjaxCommandBase:: |
public | function | AjaxCommandBase constructor. | |
Data:: |
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:: |