class ReportReplacer in Forena Reports 7.5
Same name and namespace in other branches
- 8 src/Token/ReportReplacer.php \Drupal\forena\Token\ReportReplacer
Hierarchy
- class \Drupal\forena\Token\TokenReplacerBase implements TokenReplacerInterface
- class \Drupal\forena\Token\ReportReplacer
Expanded class hierarchy of ReportReplacer
4 files declare their use of ReportReplacer
- forena.common.inc in ./
forena.common.inc - Common functions used throughout the project but loaded in this file to keep the module file lean.
- Report.php in src/
Report.php - Basic report provider. Controls the rendering of the report.
- ReportEditor.php in src/
Editor/ ReportEditor.php - ReportEditor.inc Wrapper XML class for working with DOM object. It provides helper Enter description here ... @author metzlerd
- ReportFields.php in src/
ReportFields.php
File
- src/
Token/ ReportReplacer.php, line 11
Namespace
Drupal\forena\TokenView source
class ReportReplacer extends TokenReplacerBase {
// Build the token replacer and set the base formatter.
public function __construct($formatter = NULL) {
parent::__construct(FRX_TOKEN_EXP, '{}');
if ($formatter) {
$this
->setFormatter($formatter);
}
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ReportReplacer:: |
public | function |
Class for doing syntax replacements; Overrides TokenReplacerBase:: |
|
TokenReplacerBase:: |
private | property | ||
TokenReplacerBase:: |
private | property | ||
TokenReplacerBase:: |
private | property | ||
TokenReplacerBase:: |
private | property | ||
TokenReplacerBase:: |
protected | function | Get the value from the data. This is used by token_replace method to extract the data based on the path provided. | |
TokenReplacerBase:: |
public | function | Convert an object into an array | |
TokenReplacerBase:: |
public | function |
Overrides TokenReplacerInterface:: |
|
TokenReplacerBase:: |
public | function | ||
TokenReplacerBase:: |
public | function |
Test for TRUE/FALSE for conditions that are able to be represented using bind parameters
Note that & are used to separate the different conditions and these are to be OR'd together. Overrides TokenReplacerInterface:: |
|
TokenReplacerBase:: |
public | function |
List all of the tokens used in a piece of text, ignoring duplicates. Overrides TokenReplacerInterface:: |