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

Public Member Functions

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

Public Attributes

 $help_summary = 'Documentation Needed!'
 

Detailed Description

A class to add custom actions to certain departments

Member Function Documentation

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.

SpecialDept::help_text ( )

More extensive help text, if needed

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

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: