class SQLReplacer in Forena Reports 7.5
Same name and namespace in other branches
- 8 src/Token/SQLReplacer.php \Drupal\forena\Token\SQLReplacer
Hierarchy
- class \Drupal\forena\Token\TokenReplacerBase implements TokenReplacerInterface
- class \Drupal\forena\Token\SQLReplacer
Expanded class hierarchy of SQLReplacer
5 files declare their use of SQLReplacer
- FrxDrupal.php in src/
Driver/ FrxDrupal.php - Provides data blocks for native drupal connections using the default drupal connections.
- FrxMSSQL.php in src/
Driver/ FrxMSSQL.php - Oracle specific driver that takes advantage of oracles native XML support
- FrxOracle.php in src/
Driver/ FrxOracle.php - Oracle specific driver that takes advantage of oracles native XML support
- FrxPDO.php in src/
Driver/ FrxPDO.php - General database engine used to do sql queries.
- FrxPostgres.php in src/
Driver/ FrxPostgres.php - Postgres specific driver that takes advantage of native XML support
File
- src/
Token/ SQLReplacer.php, line 12
Namespace
Drupal\forena\TokenView source
class SQLReplacer extends TokenReplacerBase {
/**
* @param $formatter
* SQL Data replacer
*/
public function __construct($formatter = NULL) {
parent::__construct(FRX_SQL_TOKEN, ':');
if ($formatter) {
$this
->setFormatter($formatter);
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SQLReplacer:: |
public | function |
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:: |