CORE POS - Fannie
The CORE POS back end
|
Public Member Functions | |
post_id_handler () | |
put_handler () | |
delete_id_handler () | |
get_view () | |
baseUnitTest ($phpunit) | |
Public Member Functions inherited from FannieRESTfulPage | |
readRoutes () | |
addRoute () | |
preprocess () | |
bodyContent () | |
unitTest ($phpunit) | |
setForm (COREPOS\common\mvc\ValueContainer $f) | |
Public Member Functions inherited from FanniePage | |
preprocess () | |
getHeader () | |
addBootstrap () | |
addJQuery () | |
get_header () | |
getFooter () | |
get_footer () | |
loginRedirect () | |
login_redirect () | |
checkAuth () | |
check_auth () | |
helpContent () | |
preFlight () | |
postFlight () | |
setPermissions ($p) | |
Public Attributes | |
$themed = true | |
Public Attributes inherited from FanniePage | |
$themed = true | |
Protected Member Functions | |
getIdCol () | |
getCRUDModel () | |
findPlaceholder ($columns, $id_col) | |
Protected Member Functions inherited from FannieRESTfulPage | |
checkRoute ($route, $try_routes) | |
bestRoute ($try_routes) | |
unknownRequestHandler () | |
unknownRequestView () | |
getModel ($database_connection, $class, $params, $find=False) | |
get_model ($database_connection, $class, $params, $find=False) | |
Protected Member Functions inherited from FanniePage | |
lineaJS () | |
helpModal () | |
Protected Attributes | |
$model_name = 'BasicModel' | |
$column_name_map = array() | |
$display_sorting = array() | |
$model = null | |
$flashes = array() | |
Protected Attributes inherited from FannieRESTfulPage | |
$__method = '' | |
$__models = array() | |
$__routes | |
$__route_stem = 'unknownRequest' | |
$form | |
$routing_trait | |
Protected Attributes inherited from FanniePage | |
$must_authenticate = false | |
$current_user = false | |
$auth_classes = array() | |
$title = 'Page window title' | |
$header = 'Page displayed header' | |
$enable_linea = false | |
Base class to generate an editor page for a given table supporting Create/Read/Update/Delete.
Supports tables with a single primary key column with an integer type. Primary key may or may not be identity/increment.
|
protected |
By default, the display will show actual column names from the underlying table as headers. To put alternate names in the user facing interface (e.g., with spaces, more descriptive, etc) use an associative array with: [database column name] => [displayed name]
It is not necessary to specify aliases for all (or any) columns.
|
protected |
By default, the user facing data is sorted on the primary key column. To use an alternative sorting, specify one or more database column names here.
|
protected |
The model class for the table this page will be managing