You are here

public function FrxRenderer::configAjax in Forena Reports 7.4

Generate ajax configuration attributes for use in template configurtion forms.

Parameters

string $event:

Return value

multitype:string

3 calls to FrxRenderer::configAjax()
FrxCrosstab::configForm in renderers/FrxCrosstab.inc
Crosstab configuration form.
FrxFieldTable::configForm in renderers/FrxFieldTable.inc
Template configuration form @parmater $configuration form
FrxSVGGraph::configForm in renderers/FrxSVGGraph.inc
Returns the section Enter description here ...

File

renderers/FrxRenderer.inc, line 591
FrxRenderer.inc Base class for Frx custom renderers @author davidmetzler

Class

FrxRenderer
@file FrxRenderer.inc Base class for Frx custom renderers @author davidmetzler

Code

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