dolibarr 21.0.0-beta
LoginController Class Reference

Class for LoginController. More...

Inheritance diagram for LoginController:
Collaboration diagram for LoginController:

Public Member Functions

 checkAccess ()
 Check current access to controller.
 
 action ()
 Action method is called before html output can be used to manage security and change context.
 
 display ()
 Display.
 
- Public Member Functions inherited from Controller
 __construct ()
 Constructor.
 
 display404 ()
 Display error template.
 
 hookDoAction ($parameters=array())
 Execute hook doActions.
 
 hookPrintPageView ($parameters=array())
 Execute hook PrintPageView.
 
 loadTemplate ($templateName, $vars=false)
 Load a template .tpl file.
 

Detailed Description

Class for LoginController.

Definition at line 27 of file login.controller.class.php.

Member Function Documentation

◆ action()

LoginController::action ( )

Action method is called before html output can be used to manage security and change context.

Returns
int Return integer < 0 on error, > 0 on success

Reimplemented from Controller.

Definition at line 47 of file login.controller.class.php.

References $context, Context\getInstance(), and Controller\hookDoAction().

◆ checkAccess()

LoginController::checkAccess ( )

Check current access to controller.

Returns
bool

Reimplemented from Controller.

Definition at line 34 of file login.controller.class.php.

References $context, and Context\getInstance().

◆ display()

LoginController::display ( )

Display.

Returns
void

Reimplemented from Controller.

Definition at line 70 of file login.controller.class.php.

References $context, Controller\display404(), Context\getInstance(), Controller\hookPrintPageView(), and Controller\loadTemplate().


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