You are here

interface AjaxCommandInterface in Forena Reports 8

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

Implements ajax commands.

Hierarchy

Expanded class hierarchy of AjaxCommandInterface

All classes that implement AjaxCommandInterface

2 files declare their use of AjaxCommandInterface
AjaxPageControllerBase.php in src/Controller/AjaxPageControllerBase.php
DocumentBase.php in src/FrxPlugin/Document/DocumentBase.php
DocumentBase.inc Given a report, render the appropriate output given the document format. @author davidmetzler

File

src/FrxPlugin/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… 19