You are here

public static function Frx::SyntaxEngine in Forena Reports 7.3

Same name and namespace in other branches
  1. 7.5 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

FrxSyntaxEngine

1 call to Frx::SyntaxEngine()
FrxMenu::__construct in ./FrxMenu.inc

File

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

Class

Frx

Code

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