CORE POS - IS4C
The CORE POS front end
|
Public Member Functions | |
isSpecial ($upc) | |
is_special ($upc) | |
handle ($upc, $json) | |
Static Public Member Functions | |
static | factory ($class) |
Handler module for non-product UPCs
If a scanned UPC does not correspond to an entry in the products table, enabled SpecialUPC modules can supplement processing.
CouponCode is the most universal example.
COREPOS\pos\lib\Scanning\SpecialUPC::handle | ( | $upc, | |
$json | |||
) |
Process the UPC
$upc | The UPC |
$json | Keyed array See the Parser class for array format |
These modules supplement parsing to make UPC handling more customizable. The module will be invoked within a Paser object and hence uses the same return format.
COREPOS\pos\lib\Scanning\SpecialUPC::isSpecial | ( | $upc | ) |
Check function
$upc | The UPC |