Public Member Functions | Protected Member Functions

UserHandler Class Reference

Inheritance diagram for UserHandler:
Collaboration diagram for UserHandler:

List of all members.

Public Member Functions

 act_login ()
 loginform_do_reset ($form)
 loginform_do_login ($form)
 act_logout ()
 act_password_reset ()

Protected Member Functions

 login_form ()
 display ($template_name)

Detailed Description

Habari UserHandler Class

Definition at line 13 of file userhandler.php.

Member Function Documentation

UserHandler::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.

Definition at line 20 of file userhandler.php.

UserHandler::act_logout (  ) 

function logout terminates a user's session, and deletes the Habari cookie

string the Action that was in the URL rule
array An associative array of settings found in the URL by the URL

Definition at line 121 of file userhandler.php.

UserHandler::act_password_reset (  ) 

Handle password reset confirmations

Definition at line 205 of file userhandler.php.

UserHandler::display ( template_name  )  [protected]

Helper function which automatically assigns all handler_vars into the theme and displays a theme template

template_name Name of template to display (note: not the filename)

Definition at line 197 of file userhandler.php.

Referenced by login_form().

UserHandler::login_form (  )  [protected]

Display the login form

string $name Pre-fill the name field with this name

Definition at line 141 of file userhandler.php.

Referenced by act_login().

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