You are here

public function RendererBase::__construct in Forena Reports 8

Overrides RendererInterface::__construct

1 call to RendererBase::__construct()
FrxSVGGraph::__construct in src/FrxPlugin/Renderer/FrxSVGGraph.php
1 method overrides RendererBase::__construct()
FrxSVGGraph::__construct in src/FrxPlugin/Renderer/FrxSVGGraph.php

File

src/FrxPlugin/Renderer/RendererBase.php, line 40
FrxRenderer.php Base class for FrxAPI custom Renderer @author davidmetzler

Class

RendererBase
Crosstab Renderer

Namespace

Drupal\forena\FrxPlugin\Renderer

Code

public function __construct(Report $report, DocumentInterface $doc = NULL) {
  $this->report = $report;
  if ($doc) {
    $this->document = $doc;
  }
  else {
    $this->document = $this
      ->getDocument();
  }
}