You are here

public static function DataManager::instance in Forena Reports 8

Returns the Data Manager instance.

Return value

\Drupal\forena\DataManager Static factory metion

2 calls to DataManager::instance()
FrxAPI::dataManager in src/FrxAPI.php
Returns the data manager service
Report::getData in src/Report.php
Get the data block

File

src/DataManager.php, line 35
DataManager.inc Enter description here ... @author davidmetzler

Class

DataManager

Namespace

Drupal\forena

Code

public static function instance($force_new = FALSE) {
  if (NULL === static::$instance || $force_new) {
    static::$instance = new static();
  }
  return static::$instance;
}