You are here

public static function Frx::Template in Forena Reports 7.5

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

Returns an object of the template class that has a method named templates.

Return value

RendererBase

6 calls to Frx::Template()
ReportEditor::addBlock in src/Editor/ReportEditor.php
Add a data blcok
ReportEditor::applyTemplate in src/Editor/ReportEditor.php
Apply a template based on the block id.
ReportEditor::prependBlock in src/Editor/ReportEditor.php
Insert a data block before a node.
ReportEditor::scrapeBlockConfig in src/Editor/ReportEditor.php
Scrape Data block configuration This tries to introspect the frx:block configuration based on the child nodes in the report by calling the getConfig method on the block.
ReportEditor::templateConfigForm in src/Editor/ReportEditor.php
Generate the configuration form for the template for a class.

... See full list

File

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

Class

Frx

Code

public static function Template($class) {
  return Frx::Controls($class);
}