PHP Class Habari\UserHandler

Inheritance: extends ActionHandler
Show file Open project: habari/system

Public Methods

Method Description
act_login ( ) Either just display the login form; or check a user's credentials, and create a session for them; or handle a password reset request.
act_logout ( ) function logout terminates a user's session, and deletes the Habari cookie
act_password_reset ( ) Handle password reset confirmations
loginform_do_login ( $form )
loginform_do_reset ( $form )

Protected Methods

Method Description
display ( $template_name ) Helper function which automatically assigns all handler_vars into the theme and displays a theme template
login_form ( ) Display the login form

Method Details

act_login() public method

Either just display the login form; or check a user's credentials, and create a session for them; or handle a password reset request.
public act_login ( )

act_logout() public method

function logout terminates a user's session, and deletes the Habari cookie
public act_logout ( )

act_password_reset() public method

Handle password reset confirmations
public act_password_reset ( )

display() protected method

Helper function which automatically assigns all handler_vars into the theme and displays a theme template
protected display ( $template_name )

login_form() protected method

Display the login form
protected login_form ( )

loginform_do_login() public method

public loginform_do_login ( $form )

loginform_do_reset() public method

public loginform_do_reset ( $form )