public function SQLReplacer::__construct in Forena Reports 7.5
Same name and namespace in other branches
- 8 src/Token/SQLReplacer.php \Drupal\forena\Token\SQLReplacer::__construct()
Parameters
$formatter: SQL Data replacer
Overrides TokenReplacerBase::__construct
File
- src/
Token/ SQLReplacer.php, line 18
Class
Namespace
Drupal\forena\TokenCode
public function __construct($formatter = NULL) {
parent::__construct(FRX_SQL_TOKEN, ':');
if ($formatter) {
$this
->setFormatter($formatter);
}
}