You are here

class Changed in Forena Reports 8

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

Class Changed

Plugin annotation


@FrxAjaxCommand(
  id = "changed"
)

Hierarchy

Expanded class hierarchy of Changed

File

src/FrxPlugin/AjaxCommand/Changed.php, line 21

Namespace

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

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

}

Members

Namesort descending Modifiers Type Description Overrides
AjaxCommandBase::$replacer protected static property
AjaxCommandBase::getJSONText public function Get json text.
AjaxCommandBase::getSetting public function
AjaxCommandBase::replacer public static function Report Replacer.
Changed::commandFromSettings public function Changed command Overrides AjaxCommandInterface::commandFromSettings