CORE POS - IS4C
The CORE POS front end
Public Member Functions | Protected Attributes | List of all members
COREPOS\pos\lib\AdminMenuEntry Class Reference

Public Member Functions

 getLabel ()
 
 getSecurity ()
 
 javascript ()
 
 callback ()
 

Protected Attributes

 $menu_label = 'Menu entry'
 
 $min_security = 20
 

Detailed Description

Base class to attach more actions to the adminlist.php menu page

Member Function Documentation

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


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