You are here

class Data in Forena Reports 7.4

Same name and namespace in other branches
  1. 8 src/FrxPlugin/AjaxCommand/Data.php \Drupal\forena\FrxPlugin\AjaxCommand\Data

Class Data

Plugin annotation


@FrxAjaxCommand(
  id = "data"
)

Hierarchy

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.

... See full list

File

AjaxCommand/Data.php, line 19

Namespace

Drupal\forena\FrxPlugin\AjaxCommand
View 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

Namesort descending Modifiers Type Description Overrides
AjaxCommandBase::$replacer protected property
AjaxCommandBase::getJSONText public function
AjaxCommandBase::getSetting public function
AjaxCommandBase::__construct public function AjaxCommandBase constructor.
Data::commandFromSettings 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::commandFromSettings