You are here

public static function Frx::SyntaxEngine in Forena Reports 7.4

Same name and namespace in other branches
  1. 7.5 Frx.inc \Frx::SyntaxEngine()
  2. 7.3 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

FrxSyntaxEngine

2 calls to Frx::SyntaxEngine()
FrxBlockEditor::__construct in ./FrxBlockEditor.inc
FrxMenu::__construct in ./FrxMenu.inc

File

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

Class

Frx

Code

public static function SyntaxEngine($regexp, $trim) {
  require_once 'FrxSyntaxEngine.inc';
  return new FrxSyntaxEngine($regexp, $trim);
}