You are here

public function FrxAPI::getDataContext in Forena Reports 8

Get the context of a specific id.

Parameters

$id:

Return value

mixed

16 calls to FrxAPI::getDataContext()
APITest::testDataContext in tests/src/Unit/APITest.php
BlockEditor::data in src/Editor/BlockEditor.php
Get data and working cache.
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.

... See full list

File

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

Class

FrxAPI
Implements FrxAPI Trait

Namespace

Drupal\forena

Code

public function getDataContext($id) {
  return DataManager::instance()->dataSvc
    ->getContext($id);
}