You are here

class Changed in Forena Reports 7.4

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

Class Changed

Plugin annotation


@FrxAjaxCommand(
  id = "changed"
)

Hierarchy

Expanded class hierarchy of Changed

1 string reference to 'Changed'
Frx::getAjaxPlugin in ./Frx.inc

File

AjaxCommand/Changed.php, line 20

Namespace

Drupal\forena\FrxPlugin\AjaxCommand
View source
class Changed extends AjaxCommandBase {

  /**
   * Changed command
   *
   * Propierties
   *
   * @param array $settings
   * @return array
   *
   */
  public function commandFromSettings(array $settings) {
    $selector = $this
      ->getSetting($settings, 'selector');
    $asterisk = $this
      ->getSetting($settings, 'asterisk');
    return ajax_command_changed($selector, $asterisk);
  }

}

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.
Changed::commandFromSettings public function Changed command Overrides AjaxCommandInterface::commandFromSettings