You are here

interface AjaxCommandInterface in Forena Reports 7.4

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

Implements ajax commands.

Hierarchy

Expanded class hierarchy of AjaxCommandInterface

All classes that implement AjaxCommandInterface

File

AjaxCommand/AjaxCommandInterface.php, line 14

Namespace

Drupal\forena\FrxPlugin\AjaxCommand
View source
interface AjaxCommandInterface {

  /**
   * 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.
   *
   * @param array $settings
   * @return mixed
   *   The ajax command object expected by drupal.
   */
  public function commandFromSettings(array $settings);

}

Members

Namesort descending Modifiers Type Description Overrides
AjaxCommandInterface::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… 15