class Css in Forena Reports 7.4
Same name and namespace in other branches
- 8 src/FrxPlugin/AjaxCommand/Css.php \Drupal\forena\FrxPlugin\AjaxCommand\Css
Class Css
Plugin annotation
@FrxAjaxCommand(
id = "css"
)
Hierarchy
- class \Drupal\forena\FrxPlugin\AjaxCommand\AjaxCommandBase implements AjaxCommandInterface
- class \Drupal\forena\FrxPlugin\AjaxCommand\Css
Expanded class hierarchy of Css
1 string reference to 'Css'
File
- AjaxCommand/
Css.php, line 21
Namespace
Drupal\forena\FrxPlugin\AjaxCommandView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AjaxCommandBase:: |
protected | property | ||
AjaxCommandBase:: |
public | function | ||
AjaxCommandBase:: |
public | function | ||
AjaxCommandBase:: |
public | function | AjaxCommandBase constructor. | |
Css:: |
public | function |
CSS JQuery Command Overrides AjaxCommandInterface:: |