You are here

class Css in Forena Reports 7.4

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

Class Css

Plugin annotation


@FrxAjaxCommand(
  id = "css"
)

Hierarchy

Expanded class hierarchy of Css

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

File

AjaxCommand/Css.php, line 21

Namespace

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

  /**
   * CSS JQuery Command
   * @param array $settings
   * @return array
   */
  public function commandFromSettings(array $settings) {
    $selector = $this
      ->getSetting($settings, 'selector');
    $css = $this
      ->getJSONText($settings, 'css');
    return ajax_command_css($selector, $css);
  }

}

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.
Css::commandFromSettings public function CSS JQuery Command Overrides AjaxCommandInterface::commandFromSettings