You are here

public function DataContext::dumpContext in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 src/Context/DataContext.php \Drupal\forena\Context\DataContext::dumpContext()

File

src/Context/DataContext.php, line 320
Implements \Drupal\forena\Context\DataContext

Class

DataContext
The DataContext class holds all of the data contexts during the report rendering process. The general idea is that during the report render, data objects are pushed on the stack with the id's of the block or foreach objects that invoke them.

Namespace

Drupal\forena\Context

Code

public function dumpContext() {
  AppService::instance()
    ->debug('cur_context ' . $this->id, '<br/>Stack<br/><pre>' . print_r($this->cur_context, 1) . '</pre>');
}