You are here

public function FrxAPI::currentDataContext in Forena Reports 8

Get the current data context.

Return value

array|\SimpleXMLElement

7 calls to FrxAPI::currentDataContext()
FrxCrosstab::render in src/FrxPlugin/Renderer/FrxCrosstab.php
Render the crosstab
FrxSVGGraph::prepareGraph in src/FrxPlugin/Template/FrxSVGGraph.php
FrxSVGGraph::prepareGraph in src/FrxPlugin/Renderer/FrxSVGGraph.php
FrxXML::render in src/FrxPlugin/Renderer/FrxXML.php
Default Render action, which simply does normal forena rendering. You can use renderDomNode at any time to generate the default forena rendering methods.
RendererBase::renderDomNode in src/FrxPlugin/Renderer/RendererBase.php
Recursive report renderer Walks the nodes rendering the report.

... See full list

File

src/FrxAPI.php, line 85
FrxAPI.incL General Forena Reporting Class

Class

FrxAPI
Implements FrxAPI Trait

Namespace

Drupal\forena

Code

public function currentDataContext() {
  return DataManager::instance()->dataSvc
    ->currentContext();
}