You are here

public static function Frx::Data in Forena Reports 7.5

Same name and namespace in other branches
  1. 7.3 Frx.inc \Frx::Data()
  2. 7.4 Frx.inc \Frx::Data()

Data Factory

6 calls to Frx::Data()
DataContext::instance in src/Context/DataContext.php
DataManager::blockAccess in src/DataManager.php
Check access control using the block in a data block. In this case public assess returns true.
Frx::Context in ./Frx.inc
Factory object to get the context based on a name. IF the context doesn't exist we assume the default data context (FrxData).
RendererBase::initReportNode in src/Renderer/RendererBase.php
This function is called to give the renderer the current conetxt in report rendering. It makes sure the renderer has the current DOM nodes dom documnent, and other attributes.
RendererBase::xmlToValues in src/Renderer/RendererBase.php
Convert XML to key value pairs. This is used in support of graping to get specific key/value pairs in an array format suitable for passing off to php libraries.

... See full list

File

./Frx.inc, line 63
Frx.incL General Forena Reporting Class

Class

Frx

Code

public static function Data() {
  static $o = '';
  if (!$o) {
    $o = new DataContext();
  }
  return $o;
}