You are here

class After in Forena Reports 7.4

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

Class After

Plugin annotation


@FrxAjaxCommand(
  id = "after"
)

Hierarchy

Expanded class hierarchy of After

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

File

AjaxCommand/After.php, line 19

Namespace

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

  /**
   * {@inheritdoc}
   */
  public function commandFromSettings(array $settings) {
    $selector = $this
      ->getSetting($settings, 'selector');
    $text = $this
      ->getSetting($settings, 'text');
    return ajax_command_after($selector, $text, $settings);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
After::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… Overrides AjaxCommandInterface::commandFromSettings
AjaxCommandBase::$replacer protected property
AjaxCommandBase::getJSONText public function
AjaxCommandBase::getSetting public function
AjaxCommandBase::__construct public function AjaxCommandBase constructor.