class Data in Forena Reports 8
Same name and namespace in other branches
- 7.4 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
7 string references to 'Data'
- forena.links.task.yml in ./
forena.links.task.yml - forena.links.task.yml
- FrxCrosstab::configForm in src/
FrxPlugin/ Template/ FrxCrosstab.php - Crosstab configuration form.
- FrxFieldTable::configForm in src/
FrxPlugin/ Template/ FrxFieldTable.php - Template configuration form @parmater $configuration form
- FrxSVGGraph::configForm in src/
FrxPlugin/ Template/ FrxSVGGraph.php - FrxTable::configForm in src/
FrxPlugin/ Template/ FrxTable.php
File
- src/
FrxPlugin/ AjaxCommand/ Data.php, line 20
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 new DataCommand($selector, $name, $value);
}
}
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. | |
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:: |