CORE POS - Fannie
The CORE POS back end
Public Member Functions | Public Attributes | Protected Attributes | List of all members
FannieAuthLoginPage Class Reference
Inheritance diagram for FannieAuthLoginPage:
FannieRESTfulPage FanniePage

Public Member Functions

 __construct ()
 
 preprocess ()
 
 get_logout_handler ()
 
 post_name_password_handler ()
 
 post_name_password_view ()
 
 get_logout_view ()
 
 get_view ()
 
- Public Member Functions inherited from FannieRESTfulPage
 readRoutes ()
 
 preprocess ()
 
 bodyContent ()
 
 unitTest ($phpunit)
 

Public Attributes

 $themed = true
 

Protected Attributes

 $title = 'Fannie : Auth'
 
 $header = 'Fannie : Auth'
 
- Protected Attributes inherited from FannieRESTfulPage
 $__method = ''
 
 $__models = array()
 
 $__routes
 
 $__route_stem = 'unknownRequest'
 

Additional Inherited Members

- Protected Member Functions inherited from FannieRESTfulPage
 unknownRequestHandler ()
 
 unknownRequestView ()
 
 getModel ($database_connection, $class, $params, $find=False)
 
 get_model ($database_connection, $class, $params, $find=False)
 

Constructor & Destructor Documentation

FannieAuthLoginPage::__construct ( )

Force authenticate requirement off to avoid a redirect loop

Member Function Documentation

FannieAuthLoginPage::get_logout_handler ( )

Logout the current user as requested

FannieAuthLoginPage::get_logout_view ( )

After logout, just display the regular login form with a line noting logout was successful

FannieAuthLoginPage::get_view ( )

Show the login form unless the user is already logged in Logged in users get links to potentially intended destinations

FannieAuthLoginPage::post_name_password_handler ( )

Check submitted credentials. Redirect to destination on success, proceed to error message on failure

FannieAuthLoginPage::post_name_password_view ( )

Error message for failed login


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