You are here

public function RendererBase::configAjax in Forena Reports 7.5

Generate ajax configuration attributes for use in template configurtion forms.

Parameters

string $event:

Return value

multitype:string

3 calls to RendererBase::configAjax()
FrxCrosstab::configForm in src/Renderer/FrxCrosstab.php
Crosstab configuration form.
FrxFieldTable::configForm in src/Renderer/FrxFieldTable.php
Template configuration form @parmater $configuration form
FrxSVGGraph::configForm in src/Renderer/FrxSVGGraph.php
Returns the section Enter description here ...

File

src/Renderer/RendererBase.php, line 600
FrxRenderer.php Base class for Frx custom Renderer @author davidmetzler

Class

RendererBase

Namespace

Drupal\forena\Renderer

Code

public function configAjax($event = '') {
  $ajax = array(
    'callback' => 'forena_template_callback',
    'wrapper' => 'forena-template-wrapper',
  );
  if ($event) {
    $ajax['event'] = $event;
  }
  return $ajax;
}