The base module for parsing modifying Parser results
Enabled PostParser modules look at the output produced by input Parsers and may modify the result
static COREPOS\pos\parser\PostParser::getPostParseChain |
( |
| ) |
|
|
static |
Gather postparse modules
- Returns
- array of PostParser class names
Scan the parse directory for module files. Return an array of available modules.
COREPOS\pos\parser\PostParser::parse |
( |
|
$json | ) |
|
Re-write the output value
- Parameters
-
[keyed | array] Parser output value |
- Returns
- [keyed array] Parser output value
The output array has the following keys:
- main_frame If set, change page to this URL
- output HTML output to be displayed
- target Javascript selector string describing which element should contain the output
- redraw_footer True or False. Set to True if totals have changed.
- receipt False or string type. Print a receipt with the given type.
- trans_num string current transaction identifier
- scale Update the scale display and session variables
- udpmsg False or string. Send a message to hardware device(s)
- retry False or string. Try the input again shortly.
The documentation for this class was generated from the following file:
- pos/is4c-nf/parser/PostParser.php