You are here

class Remove in Forena Reports 7.4

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

Class Remove

Plugin annotation


@FrxAjaxCommand(
  id = "remove"
)

Hierarchy

Expanded class hierarchy of Remove

3 string references to 'Remove'
forena_report_delete_form in ./forena.report.inc
Form to confirm the delete of a form.
forena_report_parameters_form in ./forena.report.inc
Frx::getAjaxPlugin in ./Frx.inc

File

AjaxCommand/Remove.php, line 20

Namespace

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

}

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