CORE POS - IS4C
The CORE POS front end
|
Public Member Functions | |
getLabel () | |
getSecurity () | |
javascript () | |
callback () | |
Protected Attributes | |
$menu_label = 'Menu entry' | |
$min_security = 20 | |
Base class to attach more actions to the adminlist.php menu page
COREPOS\pos\lib\AdminMenuEntry::callback | ( | ) |
Return a URL to redirect the page or a javascript snippet to execute. Returning both does not actually make sense; this is just an example of the options. $url = ::baseURL() . 'gui-modules/pos2.php'; return array( 'url' => $url, 'script' => "window.location='{$url}';\n", );
COREPOS\pos\lib\AdminMenuEntry::javascript | ( | ) |
Include <script> tags in return value