CORE POS - IS4C
The CORE POS front end
|
Public Member Functions | |
__construct () | |
head_content () | |
getHeader () | |
getFooter () | |
hide_input ($bool) | |
footer () | |
Protected Member Functions | |
input_header ($action='') | |
dateJS () | |
commonHeader () | |
noinput_header () | |
scale_box () | |
scanner_scale_polling ($include_scans=true) | |
change_page ($url) | |
default_parsewrapper_js ($input="reginput", $form="formlocal") | |
noscan_parsewrapper_js () | |
Protected Attributes | |
$page_url | |
$body_class ='mainBGimage' | |
$title = "COREPOS" | |
$hardware_polling = true | |
$mask_input = false | |
This is the base class for all display scripts
Display scripts are not required to use this base class but it does provide a lot of common functionality for building HTML pages with standard headers, footers, and styling.
COREPOS\pos\lib\gui\BasicCorePage::__construct | ( | ) |
Constructor
The constructor automatically runs the preprocess and print_page methods (if applicable). Creating a new instance will output the entire page contents
|
protected |
Go to a different page
$url | the new page URL |
Use this function instead of manual redirects to allow debug output.
|
protected |
Callback for javascript scanner-scale polling This one sends scan input to a form field on the page and other inputs through the normal parser
COREPOS\pos\lib\gui\BasicCorePage::footer | ( | ) |
Print the standard footer
COREPOS\pos\lib\gui\BasicCorePage::head_content | ( | ) |
Add output in the <head> section
This function should print anything that belongs inside the HTML head tags
|
protected |
Display the standard header with input box
$action | What the form does |
The default action is for a page to POST back to itself. Any specified action will be included in the form tag exactly as is. You can pass "action=..." or "onsubmit=..." (or both) but $action should have one or the other attributes
|
protected |
Display the standard header without input box
|
protected |
Callback for javascript scanner-scale polling This one ignores scan input and runs anything else through the parser
|
protected |
Output the standard scale display box
|
protected |
Read input from scale
Outputs the javascript used to poll for scale input and activates it on page load.
|
protected |
Relative URL for POS root directory Pages often need this.