CORE POS - IS4C
The CORE POS front end
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
COREPOS\pos\lib\Scanning\SpecialDept Class Reference
Inheritance diagram for COREPOS\pos\lib\Scanning\SpecialDept:
CCredProgramDepartments COREPOS\pos\lib\Scanning\SpecialDepts\ArWarnDept COREPOS\pos\lib\Scanning\SpecialDepts\AutoReprintDept COREPOS\pos\lib\Scanning\SpecialDepts\BottleReturnDept COREPOS\pos\lib\Scanning\SpecialDepts\EquityEndorseDept COREPOS\pos\lib\Scanning\SpecialDepts\EquityWarnDept COREPOS\pos\lib\Scanning\SpecialDepts\PaidOutDept

Public Member Functions

 help_text ()
 
 register ($deptID, $arr)
 
 handle ($deptID, $amount, $json)
 

Static Public Member Functions

static factory ($class)
 

Public Attributes

 $help_summary = 'Documentation Needed!'
 

Detailed Description

A class to add custom actions to certain departments

Member Function Documentation

COREPOS\pos\lib\Scanning\SpecialDept::handle (   $deptID,
  $amount,
  $json 
)

Process an open ring

Parameters
$upcThe department ID
$amountthe sale amount
$jsonKeyed array See the Parser class for array format
Returns
Keyed array See the Parser class for array format

These modules supplement parsing to make open ring handling more customizable. The module will be invoked within a Parser object and hence uses the same return format.

COREPOS\pos\lib\Scanning\SpecialDept::help_text ( )

More extensive help text, if needed

COREPOS\pos\lib\Scanning\SpecialDept::register (   $deptID,
  $arr 
)

Utility function Add the class to a handler map

Parameters
$deptIDthe department number
$arra handler map (array)
Returns
handler map (array)

Member Data Documentation

COREPOS\pos\lib\Scanning\SpecialDept::$help_summary = 'Documentation Needed!'

A short summary of what the special dept does Shown on mouse hover


The documentation for this class was generated from the following file: