You are here

public function AjaxCommandInterface::commandFromSettings in Forena Reports 8

Same name and namespace in other branches
  1. 7.4 AjaxCommand/AjaxCommandInterface.php \Drupal\forena\FrxPlugin\AjaxCommand\AjaxCommandInterface::commandFromSettings()

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 the interior element of an AJAX command.

Parameters

array $settings:

Return value

mixed The ajax command object expected by drupal.

19 methods override AjaxCommandInterface::commandFromSettings()
AddCss::commandFromSettings in src/FrxPlugin/AjaxCommand/AddCss.php
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…
After::commandFromSettings in src/FrxPlugin/AjaxCommand/After.php
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…
Alert::commandFromSettings in src/FrxPlugin/AjaxCommand/Alert.php
Append::commandFromSettings in src/FrxPlugin/AjaxCommand/Append.php
JQuery Append Command
Before::commandFromSettings in src/FrxPlugin/AjaxCommand/Before.php
JQuery Before Command

... See full list

File

src/FrxPlugin/AjaxCommand/AjaxCommandInterface.php, line 25

Class

AjaxCommandInterface
Implements ajax commands.

Namespace

Drupal\forena\FrxPlugin\AjaxCommand

Code

public function commandFromSettings(array $settings);