You are here

class Restripe in Forena Reports 8

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

Class Restripe

Plugin annotation


@FrxAjaxCommand(
  id = "restripe"
)

Hierarchy

Expanded class hierarchy of Restripe

File

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

Namespace

Drupal\forena\FrxPlugin\AjaxCommand
View source
class Restripe extends AjaxCommandBase {
  public function commandFromSettings(array $settings) {
    $selector = $this
      ->getSetting($settings, 'selector');
    return new RestripeCommand($selector);
  }

}

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.
Restripe::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