class FrxInclude in Forena Reports 8
Same name in this branch
- 8 src/FrxPlugin/Template/FrxInclude.php \Drupal\forena\Template\FrxInclude
- 8 src/FrxPlugin/Renderer/FrxInclude.php \Drupal\forena\FrxPlugin\Renderer\FrxInclude
Hierarchy
- class \Drupal\forena\Template\TemplateBase implements TemplateInterface uses FrxAPI
- class \Drupal\forena\Template\FrxInclude
Expanded class hierarchy of FrxInclude
1 string reference to 'FrxInclude'
- FrxInclude::generate in src/
FrxPlugin/ Template/ FrxInclude.php - Implement template generator.
File
- src/
FrxPlugin/ Template/ FrxInclude.php, line 10 - FrxInclude Include a reference to another report as an asset. @author davidmetzler
Namespace
Drupal\forena\TemplateView source
class FrxInclude extends TemplateBase {
public function scrapeConfig(\SimpleXMLElement $xml) {
return [];
}
/**
* Implement template generator.
* @see FrxRenderer::generate()
*/
public function generate() {
$src = $this
->extract('src', $key);
$div = $this
->blockDiv($config);
$frx = array(
'src' => $src,
'renderer' => 'FrxInclude',
);
$this
->addNode($div, 4, 'div', NULL, $config, $frx);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FrxAPI:: |
public | function | Returns containing application service | |
FrxAPI:: |
public | function | Get the current data context. | |
FrxAPI:: |
public | function | ||
FrxAPI:: |
public | function | Returns the data manager service | |
FrxAPI:: |
public | function | Return Data Service | |
FrxAPI:: |
public | function | Returns the fornea document manager | |
FrxAPI:: |
public | function | Report an error | |
FrxAPI:: |
public | function | Get the context of a specific id. | |
FrxAPI:: |
public | function | Get the current document | |
FrxAPI:: |
public | function | Load the contents of a file in the report file system. | |
FrxAPI:: |
public | function | Pop data off of the stack. | |
FrxAPI:: |
public | function | Push data onto the Stack | |
FrxAPI:: |
public | function | Run a report with a particular format. | 1 |
FrxAPI:: |
public | function | Get the current report file system. | |
FrxAPI:: |
public | function | Set Data context by id. | |
FrxAPI:: |
public | function | Change to a specific document type. | |
FrxAPI:: |
public | function | Get list of skins. | |
FrxInclude:: |
public | function |
Implement template generator. Overrides TemplateInterface:: |
|
FrxInclude:: |
public | function |
Overrides TemplateInterface:: |
|
TemplateBase:: |
public | property | ||
TemplateBase:: |
public | property | @var array Confiuration of template | |
TemplateBase:: |
public | property | ||
TemplateBase:: |
public | property | ||
TemplateBase:: |
public | property | ||
TemplateBase:: |
public | property | ||
TemplateBase:: |
public | function | Extract a list of columns from the data context. | |
TemplateBase:: |
public | function |
Overrides TemplateInterface:: |
|
TemplateBase:: |
public | function |
Return the inside xml of the current node Overrides FrxAPI:: |