CORE POS - Fannie
The CORE POS back end
|
Public Member Functions | |
preprocess () | |
getHeader () | |
addBootstrap () | |
addJQuery () | |
get_header () | |
getFooter () | |
get_footer () | |
loginRedirect () | |
login_redirect () | |
checkAuth () | |
check_auth () | |
helpContent () | |
preFlight () | |
postFlight () | |
setPermissions ($p) | |
Public Attributes | |
$themed = true | |
Protected Member Functions | |
lineaJS () | |
helpModal () | |
Protected Attributes | |
$must_authenticate = false | |
$current_user = false | |
$auth_classes = array() | |
$title = 'Page window title' | |
$header = 'Page displayed header' | |
$enable_linea = false | |
Class for drawing screens
FanniePage::addBootstrap | ( | ) |
Add css and js files required for bootstrap. If a version installed via composer is present, that is the version used.
FanniePage::addJQuery | ( | ) |
Add jquery js file to the page If present, the version installed via composer is used
FanniePage::checkAuth | ( | ) |
Check if the user is logged in
FanniePage::getFooter | ( | ) |
Get the standard footer
FanniePage::getHeader | ( | ) |
Get the standard header
FanniePage::helpContent | ( | ) |
User-facing help text explaining how to use a page.
|
protected |
Helper method to wrap helpContent() in markup for a bootstrap modal dialog.
|
protected |
Enable linea scanner on page
selector | - jQuery selector for the element where barcode data should be entered |
callback | [optional] function called after barcode scan |
If the callback is omitted, the parent <form> of the selector's element is submitted.
FanniePage::loginRedirect | ( | ) |
Send user to login page
FanniePage::preprocess | ( | ) |
Global setting overrides default behavior to force the menu to appear.
|
protected |
list of either auth_class(es) or array(auth_class, start, end) tuple(s)
|
protected |
name of the logged in user (or False is no one is logged in)
|
protected |
Include javascript necessary to integrate linea scanner device
|
protected |
force users to login immediately
FanniePage::$themed = true |
Page uses newer bootstrap based UI