You are here

public static function Frx::SyntaxEngine in Forena Reports 7.5

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

Factory for token replacement syntax engine object

Parameters

$regexp string regular expression for finding tokens:

$trim string to trim off the end of tokens.:

Return value

TokenReplacerBase

2 calls to Frx::SyntaxEngine()
BlockEditor::__construct in src/Editor/BlockEditor.php
Menu::__construct in src/Menu.php

File

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

Class

Frx

Code

public static function SyntaxEngine($regexp, $trim) {
  return new TokenReplacerBase($regexp, $trim);
}