$store
$store :
Class Evaluate
__construct(\qfq\Store $store, \qfq\Database $db, $startDelimiter = '{{', $endDelimiter = '}}')
\qfq\Store | $store | |
\qfq\Database | $db | |
$startDelimiter | ||
$endDelimiter |
parse( $line, integer $recursion, $debugStack = array(), $foundInStore = '') : array|mixed|null|string
Recursive evaluation of 'line'. Constant string, Variables or SQL Query or all of them.
Token to replace have to be enclosed by '{{' and '}}'
$line | ||
integer | $recursion | |
$debugStack | ||
$foundInStore |
substitute( $token, string $foundInStore = '') : array|mixed|null|string
Tries to substitute $token.
Token might be a) a SQL statement to fire b) fetch from a store. Syntax: 'form', 'form:C', 'form:SC0', 'form:S:ALNUMX' The token have to be without Delimiter '{{' / '}}' If neither a) or b) match, return the token itself, surrounded by single ticks, to emphase that substition failed.
$token | ||
string | $foundInStore |